ksh is the AT&T Korn Shell.
You must agree to the terms of the CPL-1.0 license in order to download the software. The download site is password protected, and the username and password are listed at the bottom of this license.
Ksh Download (HTTP): http://www.research.att.com/~gsf/download/tgz/ast-ksh.2008-02-02.tgz
Ksh Download MD5 sum: d2a71e320fbaa7a0fd950a27c7e4b099
Ksh Download size: 1.6 MB
INIT Download (HTTP): http://www.research.att.com/~gsf/download/tgz/INIT.2008-02-02.tgz
INIT Download MD5 sum: 740c6fc775bf2f7b6bff463bdbad1c31
INIT Download size: 340 KB
Estimated disk space required: 32 MB
Estimated build time: 2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ksh
Unlike other BLFS packages, you will need to first create a working directory in which to extract the sources and perform the build. Install ksh by running the following commands:
mkdir ksh && cd ksh && tar -xf ../INIT.2008-02-02.tgz && tar -xf ../ast-ksh.2008-02-02.tgz && bin/package make
The test suite for this package requires other packages from the
AT&T ast software library, namely nmake, in which case, you'd be better to
install the ast-base package using
the same instructions. The package
command will accept a test
argument to test the package.
Now, as the root
user:
install -v -m755 arch/linux.i386/bin/ksh /bin && install -v -m644 arch/linux.i386/man/man1/sh.1 \ /usr/share/man/man1/ksh.1 && install -v -m755 -d /usr/share/doc/ksh-2008-02-02 && install -v -m644 lib/package/{ast-ksh,INIT}.html \ /usr/share/doc/ksh-2008-02-02
bin/package make: This command rebuilds the ast INIT package and builds the ast ksh package.
Update /etc/shells
to include the
ksh shell by issuing the
following command as the root
user:
cat >> /etc/shells << "EOF"
/bin/ksh
EOF
Last updated on 2008-05-09 07:42:27 -0500