Because all operating systems deserve a good shell.
oksh is known to run on the following Operating Systems:
- DragonFly BSD
- Mac OS X
- Linux (glibc and musl)
- Android (via Termux)
- AIX (with major thanks to @tssva and @NattyNarwhal)
Running on a system not listed here? Add it and send a pull request!
We believe that
oksh will work on the following platforms, but testing is needed.
Help is greatly appreciated and encouraged!
oksh is known to build with the following C compilers:
- clang (https://llvm.org/)
- gcc (https://gcc.gnu.org/)
- pcc (http://pcc.ludd.ltu.se/)
- cparser (https://pp.ipd.kit.edu/firm/)
Building with a compiler not listed here? Add it and send a pull request!
oksh is included in some package systems.
Using a package not listed here? Add it and send a pull request!
A C compiler that understands the
long long type. A C99 compiler is the
easiest way to ensure that
oksh will build correctly. Please see the
list of C compilers above for a list of known working compilers.
configure script that produces a
Makefile is provided to
ease building and installation and can be run by:
$ ./configure $ make && sudo make install
In case of emergency
If you cannot execute
make for whatever reason, a rescue script,
rescue.sh, is available. This script contains nothing more than a
hand-written list of compiler invocations which will build
oksh in the
most basic and portable way possible. This rescue shell is perfectly
usable (as it is just an unoptimized build).
The main Korn shell files are public domain (see
Portability files are BSD or ISC licensed; see individual file headers