Showing posts with label install yum on redhat enterprise linux es release 4. Show all posts
Showing posts with label install yum on redhat enterprise linux es release 4. Show all posts

Monday, February 13, 2012

How to install YUM on Redhat Linux


Installing Yum on Red Hat Linux

Downloaded yum-2.0.8-1.noarch.rpm from below mentioned link
wget http://mirror.datapipe.net/local/redhat-3ES/i386/yum-2.0.8-1.noarch.rpm

Install  it using
rpm –i yum-2.0.8-1.noarch.rpm

After Installing yum open /etc/yum.conf  file  delete the existing  text , copy & paste the below mentioned text.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1#base]
#ame=Red Hat Linux $releasever - $basearch - Base
#aseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/


[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/4/os/i386/
gpgcheck=1
[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.centos.org/centos/4/updates/i386/
gpgcheck=1

Downloaded the gpg key for CentOS rpm packages from
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4


Imported key look like this:
rpm --import RPM-GPG-KEY-CentOS-4


Run “yum –y update”. Now Sit back and enjoy seeing your system being updated.Enjoy!


How to install YUM on Redhat Linux


Installing Yum on Red Hat Linux

Downloaded yum-2.0.8-1.noarch.rpm from below mentioned link
wget http://mirror.datapipe.net/local/redhat-3ES/i386/yum-2.0.8-1.noarch.rpm

Install  it using
rpm –i yum-2.0.8-1.noarch.rpm

After Installing yum open /etc/yum.conf  file  delete the existing  text , copy & paste the below mentioned text.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1#base]
#ame=Red Hat Linux $releasever - $basearch - Base
#aseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/


[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/4/os/i386/
gpgcheck=1
[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.centos.org/centos/4/updates/i386/
gpgcheck=1

Downloaded the gpg key for CentOS rpm packages from
wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4


Imported key look like this:
rpm --import RPM-GPG-KEY-CentOS-4


Run “yum –y update”. Now Sit back and enjoy seeing your system being updated.Enjoy!