我正在尝试使用以下教程在Linux服务器(Red Hat Enterprise Linux Server5.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还不熟悉。有人知道如何解决这个问题吗?
发布于 2017-12-25 17:02:19
由于您尚未注册RHN,因此您可以使用alternative来安装此软件包。一个这样的存储库是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 python2https://stackoverflow.com/questions/47917966
复制相似问题