Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to install python-devel for 2.6 version?

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?

like image 273
maolingzhi Avatar asked Feb 23 '12 09:02

maolingzhi


1 Answers

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.

like image 59
wrgrs Avatar answered Oct 06 '22 00:10

wrgrs