This discussion is archived
4 Replies Latest reply: Jul 12, 2012 9:24 AM by Dude! RSS

en_US Locale and KSH

BVV Journeyer
Currently Being Moderated
Hello,

in system specs they say I have to have en_US Locale and ksh installed prior to my installation. How can I check if I have it and if not, how to install it?

Thank you in advance and best regards,

BVV (total-Linux-newbie)
  • 1. Re: en_US Locale and KSH
    Dude! Guru
    Currently Being Moderated
    The following should work:

    <pre>
    $ su - dude
    Password:
    $ echo "LANG=en_US.UTF-8" >> .profile
    $ chsh
    Changing shell for dude.
    Password:
    New shell [bin/bash]: /bin/ksh
    Shell changed.

    $ su - dude
    Password:
    $ echo $SHELL
    /bin/ksh
    $ echo $LANG
    en_US.UTF-8
    </pre>
  • 2. Re: en_US Locale and KSH
    BVV Journeyer
    Currently Being Moderated
    chsh: "/bin/ksh" does not exist.

    what can we do to make it exist? :-)

    BVV (newbie)
  • 3. Re: en_US Locale and KSH
    TommyReynolds Expert
    Currently Being Moderated
    You can see all your available i18n availability like this:
    $ locale -a
    As far as KSH is concerned, it depends on which version of which distribution you are using. You can try this, in order of preference:
    # /usr/bin/yum install -y ksh
    or failing that:
    # /usr/bin/yum install -y zsh
    # cd /bin
    # /bin/ln ./zsh ksh
    or even this:
    # /usr/bin/yum install -y pdksh
    I put pdksh(1) last because it is missing lots of useful features.

    HTH
  • 4. Re: en_US Locale and KSH
    Dude! Guru
    Currently Being Moderated
    As far as I'm aware, ksh'93 is installed by default. Did you rename or remove the file?

    What output do you receive from "find / -name ksh" as root?

    For further analysis, what is your installed Linux distribution and version?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points