I want to use the yum
command in Red Hat 3.4.6-3. How can I install it?
Asked
Active
Viewed 7.4k times
7

Félix Adriyel Gagnon-Grenier
- 8,422
- 10
- 52
- 65

Bilal
- 179
- 1
- 4
- 15
2 Answers
7
- Download the yum version of your choice: wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
- Untar the package: tar xvzf yum-2.0.7.tar.gz
- change directory into the newly expanded folder: cd yum-2.0.7
- run the configuration file: ./configure
- make configuration: make
- make installation: make install

Félix Adriyel Gagnon-Grenier
- 8,422
- 10
- 52
- 65

Leo Chapiro
- 13,678
- 8
- 61
- 92
-
I am getting this error Gathering header information file(s) from server(s) Server: Red Hat Linux 4ES - i386 - Base retrygrab() failed for: mirror.dulug.duke.edu/pub/yum-repository/redhat/4ES/i386/… Executing failover method failover: out of servers to try Error getting file mirror.dulug.duke.edu/pub/yum-repository/redhat/4ES/i386/… [Errno 4] IOError:
– – Bilal Mar 30 '13 at 07:02 -
Move your existing /etc/yum.repos.d/CentOS-Base.repo file and replace those Fedora repositories with the actual CentOS-Base.repo ones: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak vi /etc/yum.repos.d/CentOS-Base.repo http://forums.cpanel.net/f5/easyapache-hangs-during-build-171006.html Please take a look! – Leo Chapiro Mar 30 '13 at 07:05
1
download yum-2.4.2-0.4.el4.rf.noarch.rpm
and install using rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm

Satya
- 8,693
- 5
- 34
- 55
-
I am getting this error Gathering header information file(s) from server(s) Server: Red Hat Linux 4ES - i386 - Base retrygrab() failed for: http://mirror.dulug.duke.edu/pub/yum-repository/redhat/4ES/i386/headers/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/4ES/i386/headers/header.info [Errno 4] IOError:
– Bilal Mar 30 '13 at 06:44