LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-12-2008, 01:54 PM   #1
Loran U.
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
I need to get KORN shell installed in my version of RedHat ver 9.


RedHat uses BASH as the default shell. I have found the RPM to pdksh but can't seem to get it to install the KORN shell I need for compatibility issues with another system. Have tried downloading various packages from the internet - non seem to work.
 
Old 08-12-2008, 03:18 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
What type of error do you get when you try to install the korn shell?

-----------------
Steve Stites
 
Old 08-12-2008, 04:03 PM   #3
Loran U.
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I don't really get an error, the little dialog box pops up for a couple seconds and then disappears when I double click the file name making it appear as if it is doing something. If I try to "run" the RPM from a terminal window I get an error saying "unable to execute binary file". Is there a command I need to use to get linux to unpack the file?
 
Old 08-12-2008, 04:18 PM   #4
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
Is it possible to install an RPM using a right click option in KDE?Otherwise I would use your package manager to install the file.
 
Old 08-12-2008, 05:32 PM   #5
Loran U.
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I can't find ksh anywhere in the packages that the GUI add/remove applications link pulls up - I have looked in every detail list for them. I have located the RPM on the installations CD's and copied it into the /bin directory but can't seem to get it to uncompress - is there a command I'm missing? Right clicking on the file in program manager and choosing "open with" and "add application" only appears to work-I can't find a binary for ksh anywhere after doing that.
 
Old 08-12-2008, 07:57 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Try it from the cmd line:

rpm -ivh file.rpm

http://www.ibiblio.org/pub/Linux/doc...RPM-HOWTO.html

Test if its installed already with

rpm -qa|grep -i ksh

and

cat /etc/shells


Just FYI, RH9 (codename Shrike) has not been supported/updated for yrs, so its wide open to exploits and you'll have probs with modern HW/SW. Highly recommend you move up to eg Fedora 8 / 9 if possible.
 
Old 08-13-2008, 01:47 PM   #7
Loran U.
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Talking

Thanks a million Chris, that was the info I needed. I have now sucessfully installed ksh and set it as my default shell so I can proceed with my project. Will look into upgrading to Fedora - just seemed a shame to waste a perfectly good software package I had purchased a few years ago.
Thanks again for the help -- Loran
 
Old 08-13-2008, 08:11 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Ok. Just one thing though, iirc pdksh was written before ksh became 'open' so it was back-engineered from the observed functionality of the old ksh.
(pd = public domain)
IOW, don't expect it to be a perfect clone, esp for later versions.

Last edited by chrism01; 08-14-2008 at 08:38 PM.
 
Old 08-14-2008, 09:51 AM   #9
Loran U.
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
The code I'm trying to interface with was written several years ago so I'll probably be ok. Guess we'll see.
 
  


Reply

Tags
ksh, redhat


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
Globbing using Korn Shell metallica1973 Programming 1 12-05-2007 04:56 PM
Korn Shell equivalent bassplayer69 Linux - General 1 08-02-2007 01:15 PM
Korn shell [[ ... ]] operator andybengurion Linux - General 1 09-26-2006 03:18 AM
How does RHEL ver 3 correspond to RedHat version 9 or 8.0 or 7.3 or 6.2 tuxynator Linux - Newbie 1 01-11-2006 05:53 AM
Korn shell and Arrays jpc82 Programming 1 06-28-2005 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:09 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
Open Source Consulting | Domain Registration