How to Install Yum on Red Hat Enterprise Linux 5 (RHEL)

Share this Article :

In this post, i will share out on how to install yum on Red Hat Enterprise Linux 5 (RHEL). This steps applies to most of Red Hat Enterprise Linux version 5. If you want to use on other systems or architectures, please check the packages version.

To download yum package for Red Hat Enterprise Linux 5, run this command:

    [[email protected] ~]# wget ftp://ftp.is.co.za/mirror/ftp.rpmforge.net/redhat/el5/en/ppc/fabian/RPMS/yum-2.4.2-0.4.el5.rf.noarch.rpm
    --2011-12-17 22:29:58--  ftp://ftp.is.co.za/mirror/ftp.rpmforge.net/redhat/el5/en/ppc/fabian/RPMS/yum-2.4.2-0.4.el5.rf.noarch.rpm
               => `yum-2.4.2-0.4.el5.rf.noarch.rpm'
    Resolving ftp.is.co.za... 196.4.160.12
    Connecting to ftp.is.co.za|196.4.160.12|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done.    ==> PWD ... done.
    ==> TYPE I ... done.  ==> CWD /mirror/ftp.rpmforge.net/redhat/el5/en/ppc/fabian/RPMS ... done.
    ==> SIZE yum-2.4.2-0.4.el5.rf.noarch.rpm ... 458049
    ==> PASV ... done.    ==> RETR yum-2.4.2-0.4.el5.rf.noarch.rpm ... done.
    Length: 458049 (447K)
    
    100%[====================================================>] 458,049     92.8K/s   in 4.8s
    
    2011-12-17 22:30:09 (92.8 KB/s) - `yum-2.4.2-0.4.el5.rf.noarch.rpm' saved [458049]
    

To install the yum, run this command:

    [[email protected] ~]# rpm -ivh yum-2.4.2-0.4.el5.rf.noarch.rpm
    warning: yum-2.4.2-0.4.el5.rf.noarch.rpm: Header V3 RSA/SHA1 signature: NOKEY, key ID 9def3191
    Preparing...                ########################################### [100%]
       1:yum                    ########################################### [100%]
    


Leave a Reply