在Red Hat Enterprise上安装python-devel时找不到python-devel
我想在红帽企业版6.5上安装python-devel。但是用yum搜索python-devel时,什么都没找到。我安装了epel源,然后发现:
ScientificPython-devel.i686 : The development files for ScientificPython
ScientificPython-devel.x86_64 : The development files for ScientificPython
nautilus-python-devel.i686 : Python bindings for Nautilus
nautilus-python-devel.x86_64 : Python bindings for Nautilus
qscintilla-python-devel.noarch : Development files for QScintilla PyQt4 bindings
wxPython-devel.i686 : Development files for wxPython add-on modules
wxPython-devel.x86_64 : Development files for wxPython add-on modules
但是在centos上,我们可以找到python-devel。为什么会这样,我该如何在红帽企业版上安装python-devel。我也试着找rpm包,但没有找到。我需要帮助。
1 个回答
0
Epel没有这个软件包
curl "http://dl.fedoraproject.org/pub/epel/6/x86_64/" | grep python | awk '{ print $6 }' | grep devel
你可以试着下载CentOS的那个软件包,然后安装它? http://rpmfind.net/linux/rpm2html/search.php?query=python-devel&submit=Search+...&system=centos&arch=
比如说:
curl -o python-devel-2.6.6-51.el6.x86_64.rpm ftp://rpmfind.net/linux/centos/6.5/os/x86_64/Packages/python-devel-2.6.6-51.el6.x86_64.rpm
yum install python-devel-2.6.6-51.el6.x86_64.rpm
注意:不要只是简单地复制粘贴上面的文字。确保你下载的软件包与你的系统和架构相匹配。