Find the answer to your Linux question:
Results 1 to 3 of 3
I have just installed ksh93 from http://www.research.att.com/sw/download/ . It took me a while to figure out how to do it with the source packages. I have also refered to http://www.linuxfromscratch.org/hint...les/shells.txt ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    26

    ksh93 installation


    I have just installed ksh93 from http://www.research.att.com/sw/download/. It took me a while to figure out how to do it with the source packages. I have also refered to http://www.linuxfromscratch.org/hint...les/shells.txt during the installation. Below is a portion of the whole text:

    The Korn SHell used to be a commercial closed-source shell. Because of
    this, a free clone was written, pdksh (Public Domain Korn
    Shell). pdksh supposedly has most of the original ksh's functionality,
    but since early 2000 the source code for the original ksh is
    available, so that is what we are going to install here. Note that ksh
    is still under a license though. The following packages are needed:

    http://www.research.att.com/~gsf/dow...2002-06-28.tgz
    http://www.research.att.com/~gsf/dow...2002-06-28.tgz
    http://www.research.att.com/~gsf/dow...2002-06-28.tgz

    Note that the exact URL may change as a result of updates to the
    source code packages. If the above links don't work you will have to
    go to http://www.research.att.com/sw/download/ and manually download
    the following packages: INIT, ast-ksh and ast-ksh-locale.

    ksh is built using AT&T's particular build system. First you will need
    to designate an empty build directory, eg <...>/src/ksh. The rest of
    the install commands should be executed while standing in this
    directory. Unpack the INIT package from this directory. Execute

    mkdir lib/package/tgz

    and move all three packages to this directory. Now issue

    bin/package read
    bin/package make

    To install ksh

    cp arch/linux.i386/bin/ksh /bin
    cp arch/linux.i386/man/man1/sh.1 /usr/share/man/man1/ksh.1

    To install the provided shell functions pushd, popd and dirs, do this

    mkdir -p /usr/share/ksh/functions
    cp arch/linux.i386/fun/* /usr/share/ksh/functions

    you will then have to set the following environment variable to access
    them, this can be done in one of the startup scripts

    export FPATH=/usr/share/ksh/functions

    The install management system supposedly will make it easier to
    upgrade ksh to a newer version by the following command

    bin/package update source http://www.research.att.com/sw/download
    So far so good until the last step where I have to add the "export FPATH=/usr/share/ksh/functions" to the startup script. Am I supposed to add it to the inittab file or other files? Have I missed out any steps if I follow this installation guide. There are something in the http://www.research.att.com/sw/download/ that I don't understad, the step (9),bin/package flat install DIRECTORY PACKAGE. I am using suse 9.3.

    Thanks for any reply....

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    26
    I did find some rpms but they are not the latest version. However I did not come across the link you provided. Thanks...

    Btw, do you know the version of this ksh93? The one I found from http://www.research.att.com/sw/download/ is 2005-02-02.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •