LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2009, 12:22 PM   #1
dsharp63
LQ Newbie
 
Registered: Feb 2005
Location: Memphis, TN
Posts: 5

Rep: Reputation: 0
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.
 
Old 05-08-2009, 12:41 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
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.
 
Old 05-08-2009, 01:03 PM   #3
nuwen52
Member
 
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
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.
 
Old 05-08-2009, 01:35 PM   #4
dsharp63
LQ Newbie
 
Registered: Feb 2005
Location: Memphis, TN
Posts: 5

Original Poster
Rep: Reputation: 0
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!
 
Old 05-08-2009, 01:49 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
korn shell variable help 4play Programming 9 11-23-2011 01:03 PM
korn shell: scripting an or for if..then Harry Seldon Linux - General 2 01-10-2008 05:21 PM
Want to install Korn Shell on Fedora Core 7 tejpatil Linux - Newbie 2 06-14-2007 11:52 AM
Installing Korn Shell in Fedora bostonantifan Fedora 5 03-20-2007 10:41 AM


All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration