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

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:

    [root@redhatserver ~]# 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:

    [root@redhatserver ~]# 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

Your email address will not be published. Required fields are marked *

SiteGround.com

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.

TRY FREE

* up to 30 days money back guarantee