How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
RegisterLogin
Webune Forums » Apache Hosting » How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
Post Description: How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
Tags: How, To, Install, Yum, -, Problems, Installing, On, Linux, RedHat, Fedora, Commands
This Post Was Posted On Feb 29, 2008 By pinguin #668
Post Description: How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
Tags: How, To, Install, Yum, -, Problems, Installing, On, Linux, RedHat, Fedora, Commands
This Post Was Posted On Feb 29, 2008 By pinguin #668
How To Install Yum - Problems Installing On Linux RedHat Fedora Commands by pinguin
NOTE: If you have LInux Redhat Enterprise, You will NOT be able to install YUM without a License. So if you don't have one, you will need to buy one from Redhat. Otherwise, if you want to have YUM in your server, try an Open Source Distribution like Fedora.
change to your root directory:
Code:
cd ~
Make a directory called yum (you can call it whatever you want)
Code:
mkdir yum
change directory to the directory you just created (i used yum)
Code:
cd yum
Download the yum version of your choice, i my case, i am downloading version 2.0.7 for my redhat Enterprise Edition Version 3
Code:
wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
Untar the package
Code:
tar -xvzf yum-2.0.7.tar.gz
change directory to the directory you untar
Code:
cd yum-2.0.7
run the configuration file
Code:
./configure
make configuration
Code:
make
make installation
Code:
make install
that's it - it worked for me
before i could get this to work, i installed the latest, it turned out i was installing the wrong version for my python version, so make sure you are installing yum for the correct version: before, i kept getting this error whenever i tried the update command:
Code:
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>
> /usr/lib/python2.4/site-packages/libxml2mod.so: undefined symbol:
> xmlSchemaIsValid
>
> Please install a package which provides this module, or
> verify that the module is installed correctly.
>
> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.4 (#1, Mar 22 2005, 21:42:42)
> [GCC 3.3.5 20050117 (prerelease) (SUSE Linux)]
>
> If you cannot solve this problem yourself, please send this
> message to <yum at lists.linux.duke.edu>.
>
MAKE SURE TO DOWNLOAD THE CORRECT YUM VERSION:
* yum 3.0.1 - Stable Release, Python 2.4+ and rpm 4.3+ systems only. Requires repomd repositories. Works under FC5, FC6 and rawhide.
* yum-metadata-parser 1.0.2 - C-based metadata parser to quickly parse xml metadata into sqlite databases.
* yum 2.6.X - Stable Release, Python 2.3+ and rpm 4.1.1+ systems requires repomd repositories: 2.6.1 latest known to work with some FC3, FC4, FC5, RHEL4 and compatible distributions
* yum 2.4.X - Stable Release, Python 2.3+ and rpm 4.1.1+ systems requires repomd repositories: 2.4.2 latest known to work with: FC3, FC4, RHEL4 and compatible distributions
* yum 2.0.X - for python 2.1+ and rpm 4.1.1-4.3.1 systems: 2.0.8 latest
* yum 1.0.X - for python 1.5.2+ and rpm 4.0.4 systems: 1.0.3 latest - considered obsolete
if you are not sure what version of python you have installed, send the following command to see your installed phython version:
Code:
python
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
ali
#4578 1
make not found!!
i think i dont have any compiler installed!
please help!
i think i dont have any compiler installed!
please help!
Oct 28, 2010 Reply Report abuse
waiyan512@gmail.com
#4394 2
how to install yum ? one error occure
wget: unable to resolve host address
"linux.duke.edu"
why?
wget: unable to resolve host address
"linux.duke.edu"
why?
Aug 26, 2010 Reply Report abuse
stanlville
#3102 3
how to get yum to work in redhat without a license
Dec 26, 2009 Reply Report abuse
Latitude
#834 4
This worked for me, thanks!
Jun 12, 2009 Reply Report abuse
vishwanathan
#833 5
i use redhat 4...but the above comman on yum..did not give any error..its not installed yet..
if i give rpm -q yum it says not installed
i use python 2.3..
plz help
if i give rpm -q yum it says not installed
i use python 2.3..
plz help
Mar 15, 2008 Reply Report abuse
rousseaun
#832 6

i'm really shocked, not to get 'yum' in my rhel-4
Feb 21, 2008 Reply Report abuse
Deepu
#831 7
i can't able install yum and mp3 files also not opening can u give any easy commands & helpful commands
thanks
thanks
Jan 25, 2008 Reply Report abuse
D S Bob
#830 8
unable to install gcc
Jan 05, 2008 Reply Report abuse
Marc
#829 9
i am having same problem. the reason is if you follow the path and insert this in the url you will discover that it does not exist. so you will need to find another mirror site. unfortunately i haven't found a alternative. mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
Oct 17, 2007 Reply Report abuse
nibu
#828 10
i too got the error message as
retrygrab() failed for:
mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
executing failover method
failover: out of servers to try
can anyone help me?
retrygrab() failed for:
mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
executing failover method
failover: out of servers to try
can anyone help me?
Oct 07, 2007 Reply Report abuse
stephan
#827 11
y did just like you said and y encaounter this erreor
my pyton version is 2.2.2 when y ran yum update it reterne this
downloading packages
getting samba-client-2.2.7a-8.9.0.i386.rpm
retrygrab() failed for:
mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
executing failover method
failover: out of servers to try
error getting file mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
[errno 4] ioerror: http error 404: not found
could you please help me on this
my os intallation is red hat9
thank
you
my pyton version is 2.2.2 when y ran yum update it reterne this
downloading packages
getting samba-client-2.2.7a-8.9.0.i386.rpm
retrygrab() failed for:
mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
executing failover method
failover: out of servers to try
error getting file mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/9//x86/i386/samba-client-2.2.7a-8.9.0.i386.rpm
[errno 4] ioerror: http error 404: not found
could you please help me on this
my os intallation is red hat9
thank
you
Aug 03, 2007 Reply Report abuse
Mike
#826 12
thanks for the tutorial - worked like a charm on a rh9 install without yum installed. perfect!
Jul 17, 2007 Reply Report abuse
pinguin
#825 13
Please note that the reason you have this operating system is because this is an enterprise level sorftware, which means you have to pay for a license, which means, that the RPMs are only provided by the provider, in this case, redhat. you need to buy a license. if you want to try an open source like centos or fedora, they come already with yum. but if you have a enterprise realease of redhat, you really need to buy a license from redhat for that type of suite.
HowTos/PackageManagement/YumOnRHEL - CentOS
HowTos/PackageManagement/YumOnRHEL - CentOS
Nov 28, 2006 Reply Report abuse
Leave Your Comments...
©2012 Webune Forums - Mon Dec 17, 2012 8:12 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3