How To Install Yum - Problems Installing On Linux Redhat Fedora Commands - Page 1 Of
Posted On Wed Nov 15, 2006 By pinguin In Dedicated Hosting Walllpaper Forums For Image Gallery Websites Forums
i tried to install apt-get into my redhat server, but for some reason, yum was not installed automatically, so i had to install it manually. so the first thing i need to do is to make sure i have an internet connection and wget to do the following commands a root:
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:
Make a directory called yum (you can call it whatever you want)
change directory to the directory you just created (i used 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
wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
Untar the package
change directory to the directory you untar
run the configuration file
make configuration
make installation
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:
> 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:
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
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
mcandres888 Thu Aug 04, 2011
Hi wahab, try this link. This works for me. voip-info.org/ 5.2 and Asterisk 1.6.x installation
wahab Tue May 31, 2011
if someone working with redhat enterprise v5 and configure ASTERISK server..please guide me to config it.thanks
krishna Thu May 05, 2011
thank you.it works very nicely.
ashirbad Sat Jan 22, 2011
thanks bro it really helped me....u r really a nice guy..
Caive Fri Jan 07, 2011
I'm getting the same error as Tere.. msgmerge command not found.. any guesses why ?
Thanks,
Caive
Thanks,
Caive
kavi Tue Dec 14, 2010
actively I'm work in all your command.. but my bad lack not install yum in system so please tell me.
how to install yum....
how to install yum....
Mayra Fri Oct 29, 2010
Im really glad I came across this. Super simple to understand and had no problems w/the install. Thanks a bunch for sharing the info.
raghunadhachowdari Sun Aug 29, 2010
it was install perfectly thanks for u r help
mohan Wed Jun 23, 2010
thanks for the information that u have given .........
mahesh Tue Apr 27, 2010
hi iam mahesh kumar dangi i like this site becous this site lenguwe is simpal so good site
dattaram Fri Apr 23, 2010
I am not able install yum in fedora 11
Kindly help step by step with commands.
SO I can install yum
Thanks
Dattaram. B
Kindly help step by step with commands.
SO I can install yum
Thanks
Dattaram. B
laura Thu Apr 22, 2010
This works for me too thanks :)
This works for me too thanks :)
This works for me too thanks :)
Eric Sat Jan 30, 2010
I got to the ./configure command but it didn't appear to exist for me.. i downloaded yum.baseurl.org/do sure what to do now..
sahil Sun Jan 03, 2010
hello everybody
i can't play mp3 and videos on red hat fedora core 7
anbody can help me
please send me some tips on
blue_eyes.1236143 at myemail
thanks
i can't play mp3 and videos on red hat fedora core 7
anbody can help me
please send me some tips on
blue_eyes.1236143 at myemail
thanks
Related Content
Information
Forums »
Dedicated Hosting Walllpaper Forums For Image Gallery Websites »
How To Install Yum - Problems Installing On Linux Redhat Fedora Commands - Page 1 Of
Dedicated Hosting Walllpaper Forums For Image Gallery Websites »
How To Install Yum - Problems Installing On Linux Redhat Fedora Commands - Page 1 Of
Title: How To Install Yum - Problems Installing On Linux Redhat Fedora Commands - Page 1 Of
Description: How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
Tags: how ,to ,install ,yum ,problems ,installing ,on ,linux ,redhat ,fedora ,commands
Info: This Post Has Been Viewed 0 Times Since
Date: Wed Nov 15, 2006
Author pinguin Received 48 Replies #289
Date: Wed Nov 15, 2006
Author pinguin Received 48 Replies #289
Share
URL: 

Embed: 

To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE:: 

BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
wallpaperama | Wallpapers | Forums | Terms Of Service
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Mon May 06, 2013 (-8 GMT)
Powered by: Webune Forums V5
