LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need help with korn shell on fedora 9 (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-korn-shell-on-fedora-9-a-724706/)

dsharp63 05-08-2009 11:22 AM

need help with korn shell on fedora 9
 
I loaded fedora 9 and it looks like it only has bourne and bash shells loaded. I'd like to get the korn shell installed and I need help.

The first question I have is where can I find it.

Any help would be appreciated. Thanks.

MensaWater 05-08-2009 11:41 AM

Try running "yum whatprovides ksh".

There is a ksh package so trying "yum install ksh" might work without having to search for it. There is an older ksh package called pdksh so typing "yum install pdksh" might work. Not sure which is in the F9 repositories.

By the way - my main reason for wanting ksh after first starting to work on Linux was that I didn't like the way bash command history worked. Later I realized you can make it work like ksh simply by typing "set -o vi". If that is your reason for wanting it you might want to try that.

nuwen52 05-08-2009 12:03 PM

Another possibility:
yum search ksh

It will probably give you more than you need, but there are at least 2 versions of ksh that I found available on my CentOS machine: ksh and mksh.

dsharp63 05-08-2009 12:35 PM

Thanks for all the help. I found an RPM for korn shell at http://chi-10g-1-mirror.fastsoft.net...6/os/Packages/. The RPM file is ksh-20080202-1.fc9.i386.rpm. I downloaded the file and then, as root, I ran `rpm -i ksh-20080202-1.fc9.i386.rpm` and it seems to have worked. Now I see the korn shell in the /bin directory (/bin/ksh).

THANKS!

MensaWater 05-08-2009 12:49 PM

So you don't have yum configured (it is by default)? Or is this system not attached to the internet?


All times are GMT -5. The time now is 07:05 AM.