how to install python-devel for 2.6 version?

34,335

If you enable the EPEL repo, you can install python 2.6 and the devel headers using yum:

# yum install python26
# yum install python26-devel

These packages won't then conflict with the python 2.4 ones.

Share:
34,335
maolingzhi
Author by

maolingzhi

a enginner for leadership e-Commerence company in china

Updated on July 18, 2022

Comments

  • maolingzhi
    maolingzhi almost 2 years

    i use centos 5.4 ,the default python version is python2.4,so i use the python2.6.2.tar.gz compile a python 2.6 version

    and now i want to intstall board review project it need install python-devel package,if i use yum install python-devel,it will install the python2.4 relevent version python-devel,

    how could i get a python2.6 version devel package install?

  • Kracekumar
    Kracekumar about 10 years
    First link is broken.
  • beckah
    beckah about 9 years
    I got the following output :/ [root@vc2cmmkb036933n apps]# yum install python26-devel Loaded plugins: security Setting up Install Process No package python26-devel available. Error: Nothing to do
  • wrgrs
    wrgrs about 9 years
    Sorry, it's a long time since I had a CentOS 5 machine to play with.