LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Closed Thread
 
Search this Thread
Old 11-29-2006, 04:56 PM   #1
BillZ
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.

Thanks,

Bill
 
Old 11-30-2006, 12:45 PM   #2
Lenard
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: 56
Build the python 2.4 packages from a source rpm file constructed for the Red Hat family, like for example;

http://download.fedora.redhat.com/pu...-8.FC4.src.rpm

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, 12:12 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,434
Blog Entries: 6

Rep: Reputation: 51
I tried downloading python 2.4 from http://fixunix.com/redhat/351362-python-2-4-rhel4.html as .src.rpm. It first ran:
Code:

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

was a long listing of compilation but it exited as:
Code:

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, 09:58 AM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
A good post about this

This post

http://python-forum.org/pythonforum/...version#p50458

is about Ubuntu, but may play well on Red Hat. You'd have to read the config and Makefile.
 
Old 10-21-2011, 10:53 AM   #5
maestromani
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.

BRs
Mani.
 
Old 10-21-2011, 03:05 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,665

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
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
https://www.linuxquestions.org/quest...-2-4-a-909359/
-- reported --
 
Old 10-21-2011, 03:22 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

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


Closed Thread

Tags
python


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


All times are GMT -5. The time now is 07:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration