簡體   English   中英

在RedHat Enterprise Server 5.5上安裝python26時出錯

[英]Error when installing python26 on RedHat Enterprise Server 5.5

我正在嘗試使用以下教程在Linux服務器(Red Hat Enterprise Linux Server版本5.5)上安裝GitLab社區版。

在RedHat Enterprise 5 RHEL 5上安裝GitLab

但是,當我嘗試按照教程安裝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的新手。 有誰知道如何解決這個問題?

由於您尚未在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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM