【问题标题】:redhat enterprise install python-devel, can not find python-develredhat企业安装python-devel,找不到python-devel
【发布时间】:2014-09-05 23:52:32
【问题描述】:

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

【问题讨论】:

  • uname -a 的输出是什么?
  • Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

标签: python redhat epel


【解决方案1】:

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 

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

【讨论】:

    猜你喜欢
    • 2023-03-15
    • 1970-01-01
    • 1970-01-01
    • 2017-07-02
    • 2018-01-09
    • 2015-05-18
    • 1970-01-01
    • 2012-03-13
    • 2014-05-14
    相关资源
    最近更新 更多