简体   繁体   中英

Error when installing python26 on RedHat Enterprise Server 5.5

I'm trying to install GitLab community edition on a Linux server (Red Hat Enterprise Linux Server release 5.5) using following tutorial.

Installing GitLab on RedHat Enterprise 5 RHEL 5

But when I try to install python26 as per the tutorial, I'm getting following error.

# 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

I have some experience with Ubuntu, but I'm new to Red Hat. Does anyone know how to fix this problem?

Since you are not registered with RHN, you can use alternative Repository for install this package. One such repository is geekymedia.com centos repository.

To add repository to your system,

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

To install python26 package,

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM