Difference between revisions of "Install yum"
(→CentOS 6.0: updated) |
(→CentOS 5 i386) |
||
Line 62: | Line 62: | ||
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/readline-5.1-3.el5.i386.rpm | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/readline-5.1-3.el5.i386.rpm | ||
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-2.4.3-46.el5.i386.rpm | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-2.4.3-46.el5.i386.rpm | ||
− | |||
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm | ||
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.el5_7.2.i386.rpm | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.el5_7.2.i386.rpm | ||
Line 74: | Line 73: | ||
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm | ||
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm | ||
− | + | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm | |
− | + | rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm | |
− | + | ||
yum -y update | yum -y update | ||
</pre> | </pre> |
Revision as of 22:52, 23 February 2013
This article is specific to CentOS, however the packages required for yum here are the same on other flavors
The scripts shown below install all the packages upon which yum depends for a 386 distro (Need separate 64 bit instructions)
Please note - that the version numbers of the packages WILL change as later releases come out, it is up to you to ensure that the packages used are the latest. If you find a package in this script has become deprecated, please update this page with the latest package so others do not have to search for it as well.
Contents
CentOS 4 i386
PREFIX=http://vault.centos.org/4.9/os/i386/CentOS/RPMS mkdir temp cd temp wget $PREFIX/gmp-4.1.4-3.i386.rpm wget $PREFIX/readline-4.3-13.i386.rpm wget $PREFIX/python-2.3.4-14.7.el4.i386.rpm wget $PREFIX/libxml2-2.6.16-12.6.i386.rpm wget $PREFIX/libxml2-python-2.6.16-12.6.i386.rpm wget $PREFIX/expat-1.95.7-4.i386.rpm wget $PREFIX/python-elementtree-1.2.6-5.el4.centos.i386.rpm wget $PREFIX/sqlite-3.3.6-2.i386.rpm wget $PREFIX/python-sqlite-1.1.7-1.2.1.i386.rpm wget $PREFIX/elfutils-libelf-0.97.1-5.i386.rpm wget $PREFIX/elfutils-0.97.1-5.i386.rpm wget $PREFIX/rpm-4.3.3-32_nonptl.i386.rpm wget $PREFIX/rpm-python-4.3.3-32_nonptl.i386.rpm wget $PREFIX/python-urlgrabber-2.9.8-2.noarch.rpm #wget $PREFIX/centos-yumconf-4-4.5.noarch.rpm wget $PREFIX/yum-metadata-parser-1.0-8.el4.centos.i386.rpm wget $PREFIX/yum-2.4.3-4.el4.centos.noarch.rpm rpm -Uhv *.rpm yum -y update
Note: CentOS 4 i386 updated 4 Apr 2012
CentOS 4 X86_64
rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/gmp-4.1.4-3.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/readline-4.3-13.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-2.3.4-14.7.el4.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/libxml2-2.6.16-12.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/libxml2-python-2.6.16-12.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/expat-1.95.7-4.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-elementtree-1.2.6-5.el4.centos.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/sqlite-3.3.6-2.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-sqlite-1.1.7-1.2.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/elfutils-libelf-0.97.1-5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/elfutils-0.97.1-5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/rpm-4.3.3-26_nonptl.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/rpm-python-4.3.3-26_nonptl.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.centos.org/4.8/os/alpha/CentOS/RPMS/centos-yumconf-4-4.5.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/yum-metadata-parser-1.0-8.el4.centos.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/yum-2.4.3-4.el4.centos.noarch.rpm yum -y update
Note: CentOS 4 X86_64 updated 20 September 2010
CentOS 5 i386
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/readline-5.1-3.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-2.4.3-46.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.el5_7.2.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/expat-1.95.8-8.3.el5_5.3.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/sqlite-3.3.6-5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-python-4.4.2.3-27.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/m2crypto-0.16-8.el5.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm yum -y update
Note: Updated 19 July 2012 by vipx
- Updated URL packages.
Note: Updated 02 January 2012 by Psyko
- Updated URL packages.
Note: Updated 10 June 2011 by Nico Timeo
- Updated URL packages
- Changed to make it work as one big copy&paste command. (Hint: If it doesn't work later on, look for updated packages)
- If you get some complaints about rpm and maybe popt, you might need to use the --nodeps option to get the dependencies right.
CentOS 5 x86_64
rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/gmp-4.1.4-10.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/readline-5.1-3.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/python-2.4.3-44.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/libxml2-2.6.26-2.1.12.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.12.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/sqlite-3.3.6-5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/elfutils-libelf-0.137-3.el5.x86_64.rpm rpm --nodeps -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/elfutils-0.137-3.el5.x86_64.rpm rpm --nodeps -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/rpm-4.4.2.3-22.el5.x86_64.rpm rpm --nodeps -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/rpm-python-4.4.2.3-22.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/m2crypto-0.16-8.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm rpm --nodeps -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm rpm -Uvh http://mirror.centos.org/centos/5.7/os/x86_64/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm yum -y update
Note: Updated 21 October 2011 By Sustrai
CentOS 6.0
i386
rpm -Uhv http://mirror.stanford.edu/yum/pub/centos/6/os/i386/Packages/{gpgme-1.1.8-3.el6.i686,nss_compat_ossl-0.9.6-1.el6.i686,pygpgme-0.1-18.20090824bzr68.el6.i686,python-iniparse-0.3.1-2.1.el6.noarch,python-pycurl-7.19.0-8.el6.i686,python-urlgrabber-3.9.1-8.el6.noarch,rpm-python-4.8.0-27.el6.i686,yum-3.2.29-30.el6.centos.noarch,yum-metadata-parser-1.1.2-16.el6.i686,yum-plugin-fastestmirror-1.1.30-14.el6.noarch}.rpm
x86_64
http://mirror.stanford.edu/yum/pub/centos/6/os/x86_64/Packages/{gpgme-1.1.8-3.el6.x86_64,nss_compat_ossl-0.9.6-1.el6.x86_64,pygpgme-0.1-18.20090824bzr68.el6.x86_64,python-iniparse-0.3.1-2.1.el6.noarch,python-pycurl-7.19.0-8.el6.x86_64,python-urlgrabber-3.9.1-8.el6.noarch,rpm-python-4.8.0-27.el6.x86_64,yum-3.2.29-30.el6.centos.noarch,yum-metadata-parser-1.1.2-16.el6.x86_64,yum-plugin-fastestmirror-1.1.30-14.el6.noarch}.rpm