LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Python 2.7.2 and python-devel on CentOS 5.7 (http://www.linuxquestions.org/questions/linux-software-2/installing-python-2-7-2-and-python-devel-on-centos-5-7-a-935518/)

iwitham 03-20-2012 01:58 PM

Installing Python 2.7.2 and python-devel on CentOS 5.7
 
I have installed Python 2.7.2 on my CentOS 5.7 box, but can't locate the python-devel for it. I have attempted to do it via Yum, but it wants to install python-devel 2.4 and not 2.7. I have been trying to locate the python-devel or the source to build from. Can anyone point me down the correct rabbit hole?

Thanks,
Iry

John VV 03-21-2012 06:14 PM

DO NOT DO NOT replace python 2.4 with 2.7
you CAN install 2.7 along side 2.4
but yum and gnome REQUIRE REQUIRE the 2.4 version that is in the update repo !!!



Quote:

I have installed Python 2.7.2 on my CentOS 5.7 box
HOW ?
a source build in its own folder
something like
/usr/lib64/python27
or
/usr/opt/python27

having 27 installed ALONGSIDE 24 is fine
you just have to inform the software that needs 27 just where it is

but if you just ran ./configure && make
then you replaced the REQUIRED 2.4 ( not good )

if you DID replace 24with 27
REINSTALL 24 rpm before you reboot !!!!!!!!!!!!!


so EXACTLY what did you do to "install" 27 ?


All times are GMT -5. The time now is 05:19 AM.