Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


Closed Thread
  Search this Thread
Old 11-29-2006, 05:56 PM   #1
LQ Newbie
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
How to best install Python 2.4 on EL4

I'm currently setting up several servers that are a mix of CentOS4 and RHEL4. I need to update Python to version 2.4. I have tried using the pyvault rpms, but there was a dependency on the alternatives package that couldn't seem to be resolved even when the alternatives package was already installed.

I found one suggestion to use the RHEL5 iso files to create a rpm repository for yum on CentOS along with the FC6 repositories, but that still ends up with errors.

Any help with this will be greatly appreciated.


Old 11-30-2006, 01:45 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Build the python 2.4 packages from a source rpm file constructed for the Red Hat family, like for example;

Using the FC6 repos only works with the RHEL5 betas. Far to many changes for them to work with RHEL4 (and CentOS4), RHEL5 is being based on the FC5/6 work while RHEL4 is based on the work for FC3/4.
Old 06-15-2009, 01:12 AM   #3
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
I tried downloading python 2.4 from as .src.rpm. It first ran:

rpm -ivh <>.src.rpm
cd /usr/src/redhat/SPEC
rpmbuild -bb <>.spec

was a long listing of compilation but it exited as:

error: Bad exit status from /var/tmp/rpm-tmp.3610 (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.3610 (%install)
Old 06-15-2009, 10:58 AM   #4
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
A good post about this

This post

is about Ubuntu, but may play well on Red Hat. You'd have to read the config and Makefile.
Old 10-21-2011, 11:53 AM   #5
LQ Newbie
Registered: Sep 2010
Posts: 11

Rep: Reputation: 0
how to uninstall python2.4

Hi There,

Someone have installed python local copy in RHEL 5.4, i need to remove that, can you please explain me the way for it.

make uninstall
make: *** No rule to make target `uninstall'. Stop

above is the error when i run make uninstall, i'm running in the same location where it got installed.

Old 10-21-2011, 04:05 PM   #6
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,218

Rep: Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517
maestromani please do not post the exact same question in a second thread
and one that is 5 years old
this post is a dup. of
-- reported --
Old 10-21-2011, 04:22 PM   #7
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Closed as per above.

Closed Thread


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
How to best install Python 2.4 on EL4 BillZ Red Hat 1 12-05-2006 09:03 AM
install RH EL4 on ProLiant DL360 G5 raggmopp1961 Linux - Hardware 0 09-07-2006 03:54 PM
how to install a Sierra wireless Aircard 555 in redhat EL4 syedabdul Linux - Wireless Networking 1 02-19-2006 03:59 PM
how to install EL4 for IBM thinkpad R52 A36 samprabhu Linux - Hardware 0 12-16-2005 04:45 AM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 05:07 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:35 AM.

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