-1

我想在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包,但是没找到。我需要帮助。

4

1 回答 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 

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

于 2014-09-06T00:07:32.597 回答