4 Replies Latest reply on Jul 12, 2012 4:24 PM by Dude!

    en_US Locale and KSH


      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
          The following should work:

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

          $ su - dude
          $ echo $SHELL
          $ echo $LANG
          1 person found this helpful
          • 2. Re: en_US Locale and KSH
            chsh: "/bin/ksh" does not exist.

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

            BVV (newbie)
            • 3. Re: en_US Locale and KSH
              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.

              • 4. Re: en_US Locale and KSH
                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?