{"id":802,"date":"2009-12-25T10:13:44","date_gmt":"2009-12-25T10:13:44","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=802"},"modified":"2014-11-21T06:44:45","modified_gmt":"2014-11-21T06:44:45","slug":"how-to-install-yum-on-plain-server","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/how-to-install-yum-on-plain-server\/","title":{"rendered":"How to install YUM on plain Server?"},"content":{"rendered":"<p>First you need to login into shell as root user than follow the steps one by one.<\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#mkdir \/root\/support\u00a0 &amp;&amp; cd \/root\/support<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/gmp-4.1.4-10.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh gmp-4.1.4-10.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/readline-5.1-3.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh readline-5.1-3.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/python-2.4.3-27.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh python-2.4.3-27.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/libxml2-2.6.26-2.1.2.8.i386.rpm<br \/>\n<\/span><br \/>\n<span style=\"color: #800000;\">[<\/span><span style=\"color: #800000;\"><span style=\"color: #800000;\">ro<\/span>ot@gunjan]#rpm -Uvh libxml2-2.6.26-2.1.2.8.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/libxml2-python<span style=\"color: #800000;\">-2.6.26-2.1.2.8.i386.rp<\/span><\/span><span style=\"color: #800000;\">m<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh libxml2-python-2.6.26-2.1.2.8.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/expat-1.95.8-8.2.1.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh expat-1.95.8-8.2.1.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/python-elementtree-1.2.6-5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh python-elementtree-1.2.6-5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/sqlite-3.3.6-5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh sqlite-3.3.6-5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/python-sqlite-1.1.7-1.2.1.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh python-sqlite-1.1.7-1.2.1.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/elfutils-0.137-3.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh elfutils-0.137-3.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/rpm-python-4.4.2.3-18.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh rpm-python-4.4.2.3-18.el5.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#It will throw following error.<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]# rpm -Uvh rpm-python-4.4.2.3-18.el5.i386.rpm<\/span><\/p>\n<p>warning: rpm-python-4.4.2.3-18.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897<br \/>\nerror: Failed dependencies:<br \/>\npopt = 1.10.2.3-18.el5 is needed by rpm-python-4.4.2.3-18.el5.i386<br \/>\nrpm = 4.4.2.3-18.el5 is needed by rpm-python-4.4.2.3-18.el5.i386<br \/>\nrpm-libs = 4.4.2.3-18.el5 is needed by rpm-python-4.4.2.3-18.el5.i386<\/p>\n<p>In that case search dependencies in following URL<\/p>\n<p>http:\/\/rpm.pbone.net\/<\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/m2crypto-0.16-6.el5.6.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh m2crypto-0.16-6.el5.6.i386.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/python-urlgrabber-3.1.0-5.el5.noarch.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh python-urlgrabber-3.1.0-5.el5.noarch.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/yum-3.2.22-20.el5.centos.noarch.rpm<\/span><\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm<\/span><\/p>\n<p>It will throw following error.<\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]# rpm -Uvh yum-3.2.22-20.el5.centos.noarch.rpm<\/span><br \/>\nwarning: yum-3.2.22-20.el5.centos.noarch.rpm: Header V3 DSA signature: NOKEY, key ID e8562897<br \/>\nerror: Failed dependencies:<br \/>\npython-iniparse is needed by yum-3.2.22-20.el5.centos.noarch<br \/>\nrpm-python is needed by yum-3.2.22-20.el5.centos.noarch<br \/>\nyum-fastestmirror is needed by yum-3.2.22-20.el5.centos.noarch<br \/>\nyum-metadata-parser &gt;= 1.1.0 is needed by yum-3.2.22-20.el5.centos.noarch<\/p>\n<p>In that case search dependencies in following URL<\/p>\n<p>http:\/\/rpm.pbone.net\/<\/p>\n<p>Once you complete all dependencies you can update yum by using following command<\/p>\n<p><span style=\"color: #800000;\">[root@gunjan]#yum -y update<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>First you need to login into shell as root user than follow the steps one by one. [root@gunjan]#mkdir \/root\/support\u00a0 &amp;&amp; cd \/root\/support [root@gunjan]#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/gmp-4.1.4-10.el5.i386.rpm [root@gunjan]#rpm <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/how-to-install-yum-on-plain-server\/\" title=\"How to install YUM on plain Server?\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/802"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":24,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"predecessor-version":[{"id":3744,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/802\/revisions\/3744"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}