【问题标题】:Error when installing python26 on RedHat Enterprise Server 5.5在 RedHat Enterprise Server 5.5 上安装 python26 时出错
【发布时间】:2018-06-03 17:13:54
【问题描述】:

我正在尝试使用以下教程在 Linux 服务器(Red Hat Enterprise Linux Server 版本 5.5)上安装 GitLab 社区版。

Installing GitLab on RedHat Enterprise 5 RHEL 5

但是当我尝试按照教程安装 python26 时,出现以下错误。

# yum install python26
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package python26 available.
Nothing to do

我对 Ubuntu 有一些经验,但我是 Red Hat 的新手。有谁知道如何解决这个问题?

【问题讨论】:

  • yum list python26 的 putput 是什么?
  • "这个系统没有注册到 RHN。"到时候回来。
  • @SandeepLade Error: No matching Packages to list
  • @IgnacioVazquez-Abrams 这意味着什么?我应该注册所谓的“RHN”
  • 仅当您想访问软件包和更新时。

标签: python linux gitlab redhat


【解决方案1】:

由于您没有在 RHN 上注册,您可以使用替代存储库来安装此软件包。一个这样的存储库是 geekymedia.com centos 存储库。

要将存储库添加到您的系统,

cd /etc/yum.repos.d
wget http://mirrors.geekymedia.com/centos/geekymedia.repo

要安装python26包,

yum install python26
unlink /usr/bin/python2
cd /usr/bin/
ln -s python26 python2

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-12-25
    • 2020-08-10
    • 1970-01-01
    • 1970-01-01
    • 2019-11-07
    • 2014-03-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多