Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[NEWBIE] Install missing ksh on Redhat 7.2

995 views
Skip to first unread message

Kenneth Brun Nielsen

unread,
Nov 5, 2007, 7:48:43 AM11/5/07
to
I have a program, which is dependent on ksh.

It seems that ksh is not installed on the machine (server at work).
How do I get that
installed?

As far as I can see, it is a Redhat 7.2 installation.

Best regards,
Kenneth

General Schvantzkopf

unread,
Nov 5, 2007, 9:14:52 AM11/5/07
to

If you have the RH7.2 CDs look for a ksh RPM. 7.2 hasn't been supported
for years so there are no online respositories, however you might be able
to get it from RPMfind.

Moe Trin

unread,
Nov 5, 2007, 7:45:03 PM11/5/07
to
On Mon, 05 Nov 2007, in the Usenet newsgroup linux.redhat, in article
<1194266923.8...@v3g2000hsg.googlegroups.com>, Kenneth Brun Nielsen
wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.

>I have a program, which is dependent on ksh.
>
>It seems that ksh is not installed on the machine (server at work).

Contact who ever is "administering" this obsolete system, and have them
dig up the installation disks and install the 'pdksh' package. The
real Korn shell was restricted, and never included in older versions of
Red Hat - rather including a Public Domain version.

>How do I get that installed?

If that's really 7.2, become root, insert the distribution CD (not sure
which one) and use 'rpm' to install the pdksh-5.2.14-13 package. If the
original CDs aren't available, search for the package

181294 Sep 7 2001 pdksh-5.2.14-13.i386.rpm

on your favorite search engine. You _MIGHT_ find it at
http://sunsite.mff.cuni.cz/MIRRORS/archive.download.redhat.com/redhat/linux/

>As far as I can see, it is a Redhat 7.2 installation.

'cat /etc/redhat-release' 7.2 was called 'enigma'. A very significant
problem is that it came out in October 2001, was last officially updated
in December 2003, and even unofficial support ended in May 2004. It is
very obsolete.

Good Luck

Old guy

Kenneth Brun Nielsen

unread,
Nov 6, 2007, 11:11:44 AM11/6/07
to
On Nov 5, 3:14 pm, General Schvantzkopf <schvantzk...@yahoo.com>
wrote:

> If you have the RH7.2 CDs look for a ksh RPM. 7.2 hasn't been supported
> for years so there are no online respositories, however you might be able
> to get it from RPMfind.

I will ask the administrator (when he shows up) for the CDs.

Thanks.

/Kenneth

Kenneth Brun Nielsen

unread,
Nov 6, 2007, 11:19:31 AM11/6/07
to
On Nov 6, 1:45 am, ibupro...@painkiller.example.tld (Moe Trin) wrote:
> NOTE: Posting from groups.google.com (or some web-forums) dramatically
> reduces the chance of your post being seen.

Really!? Does "people" actively filter them - or do they lack any
vital parts? I know, I don't get much "respect" when posting through
Google, but it is actually quite convenient in my place, when
switching between several computers - and when the firewall at my work
is pretty strict. I might reconsider this...

> Contact who ever is "administering" this obsolete system, and have them
> dig up the installation disks and install the 'pdksh' package.

I will - although he's a rather rare guest...

> The
> real Korn shell was restricted, and never included in older versions of
> Red Hat - rather including a Public Domain version.

OK.

> If that's really 7.2, become root, insert the distribution CD (not sure
> which one) and use 'rpm' to install the pdksh-5.2.14-13 package. If the
> original CDs aren't available, search for the package
>
> 181294 Sep 7 2001 pdksh-5.2.14-13.i386.rpm

Nice! So if I find a package of that name (on a trustworthy page), I
will be able to install it in Redhat 7.2?

> 'cat /etc/redhat-release' 7.2 was called 'enigma'. A very significant
> problem is that it came out in October 2001, was last officially updated
> in December 2003, and even unofficial support ended in May 2004. It is
> very obsolete.

I assume it is installed here, because other CAD tools have been
proven to work in it. I will stand up for a renewal, though :)

Thanks a lot for your detailed description.

/Kenneth

Moe Trin

unread,
Nov 7, 2007, 7:14:06 PM11/7/07
to
On Tue, 06 Nov 2007, in the Usenet newsgroup linux.redhat, in article
<1194365971.9...@22g2000hsm.googlegroups.com>, Kenneth Brun Nielsen
wrote:

>(Moe Trin) wrote:

>> NOTE: Posting from groups.google.com (or some web-forums) dramatically
>> reduces the chance of your post being seen.
>
>Really!? Does "people" actively filter them

Yes. I'm only filtering the posts in 7 of the 85 newsgroups I try
to follow daily. 'comp.os.linux.misc' is a good example why the posts
are filtered. Complaints to google are answered by an ignore.bot, so
some people are ignoring google in return.

>I know, I don't get much "respect" when posting through Google, but
>it is actually quite convenient in my place, when switching between
>several computers - and when the firewall at my work is pretty
>strict. I might reconsider this...

I know the problem - we can't post from the news server at work, and
access to regular news servers is otherwise blocked. Our posting access
at work consists of a number of systems located in employee break areas
and the cafeteria which only have dialout access.

>> Contact who ever is "administering" this obsolete system, and have
>> them dig up the installation disks and install the 'pdksh' package.
>
>I will - although he's a rather rare guest...

That does make for difficulties.

>> The real Korn shell was restricted, and never included in older
>> versions of Red Hat - rather including a Public Domain version.
>
>OK.

You may want to try

[compton ~]$ rpm -q pdksh
package pdksh is not installed
[compton ~]$

to see if it is installed. The Korn shell isn't that widely used as
it once was, but a lot of the features are included in the Bash shell.
Are there any Korn specific commands needed, or can you alter the
script to use /bin/bash?

>> 181294 Sep 7 2001 pdksh-5.2.14-13.i386.rpm
>
>Nice! So if I find a package of that name (on a trustworthy page), I
>will be able to install it in Redhat 7.2?

As root, '/bin/rpm -I /path/to/pdksh-5.2.14-13.i386.rpm' and in she
goes.

I suspect that the package for Red Hat 7.1 (pdksh-5.2.14-12.i386.rpm)
and 7.3 (pdksh-5.2.14-16.i386.rpm) would also install, but can't say
that for certain.

>> problem is that it came out in October 2001, was last officially
>> updated in December 2003, and even unofficial support ended in May
>> 2004. It is very obsolete.
>
>I assume it is installed here, because other CAD tools have been
>proven to work in it. I will stand up for a renewal, though :)

That may be a big problem, as a lot of things have changed since
7.2. Current versions are using a completely different breed of kernel,
and many of the libraries have been "improved". The CAD tools may not
be usable, which is probably not a good thing.

Old guy

0 new messages