redhat enterprise安装python-devel,找不到python-devel

时间:2014-09-05 23:52:33

标签: python redhat epel

我想在redhat enterprise 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。 为什么以及如何在redhat企业上安装python-devel。我也试图找到rmp包,但我没有找到。我需要帮助。

1 个答案:

答案 0 :(得分: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 

注意:不要简单地复制并粘贴上面的文字。确保您获得与您的系统和架构相匹配的软件包。