CentOS 5 - installing yum

Discussion in 'General Discussion' started by canfone, Jun 11, 2007.

  1. canfone

    canfone New Member

    Messages:
    10
    Everytime I setup a new VPS I find myself searching for the correct RPMs to install yum. I have just setup a CentOS 5 x86_64 and needed yum installed, I was able to use the following to obtain the correct rpms:



    Code:
    
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/rpm-python-4.4.2-37.el5.x86_64.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/m2crypto-0.16-6.el5.1.x86_64.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.x86_64.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm[/url]
    rpm -ivh [url]http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/yum-3.0.5-1.el5.centos.2.noarch.rpm[/url]
    
    

    I thought I would post this here as it may help someone trying to get yum installed. If there was anyway that yum could be installed by default into the OS templates I think may people would be happy...
  2. pt.richard

    pt.richard New Member

    Messages:
    3
    vzpkg install VEID -p RPM-PACKAGE

    Hi,

    I belive you should use:

    vz will when take care of dependancys and store these in it's shared cache area.

    Richard
  3. atomicturtle

    atomicturtle Product Expert

    Messages:
    3,764
  4. gromett

    gromett New Member

    Messages:
    22
    This worked fine for me :)
    vzpkg install 201 -p yum

    Thanks

Share This Page