How To Install Yum - Problems Installing On Linux RedHat Fedora Commands

Mobile
feeds
Welcome Login | Register

How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
Reply Your Comments:
Click this button if you are interested in replying to this topic and leave your comments
Sent To Friend
CLick this button if you want to send this page to a friend.
Subsribe To Rss Feeds
Subscribe to RSS
CLick this button if you want to subscribe to this RSS Feed. You can use your browsers feeds burners if you have mozilla or internet explorer 7 or higher and keep up with updates.
  Forums Index
      » Dedicated Hosting Forums
        » » 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 Dedicated Hosting
Post Tags:
This Post Has Been Viewed 26262 Times Since Wed Nov 15, 2006 4:06 pm Author pinguin with 34 replies
How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
Advertise On This Page




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:

     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

Your Name
Your Email Address (Will Not Be Published)
Notify Me When Someone Replies to this Page
(An email will be sent to you when someone replies to your comments)
Your Comments
Include A Picture with your comments
Share
| More
Share this page by putting this URL in your comments to other websites like myspace, Facebook, Twitter friendster, Hi5, Groups, Boards, Forum or others. Just Copy and Paste this Code
URL:
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.
Embed:
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
BBCODE:
Subscribe Feeds
Webmasters - Exchange Links With Us. Add related websites to this topic
Add Link:
Links Related to : How To Install Yum - Problems Installing On Linux RedHat Fedora Commands

Comments and replies About How To Install Yum - Problems Installing On Linux RedHat Fedora Commands
:: 1 :: Reply #131 Reply By pinguin On Tue Nov 28, 2006 1:15 pm
pinguin:
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
:: 2 :: Reply #11289 Reply By Mike On Tue Jul 17, 2007 2:53 pm
Mike:
thanks for the tutorial - worked like a charm on a rh9 install without yum installed. perfect!
:: 3 :: Reply #13938 Reply By stephan On Fri Aug 03, 2007 2:15 pm
stephan:
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
:: 4 :: Reply #23344 Reply By nibu On Sun Oct 07, 2007 9:34 pm
nibu:
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?
:: 5 :: Reply #24632 Reply By Marc On Wed Oct 17, 2007 3:03 pm
Marc:
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
:: 6 :: Reply #34689 Reply By D On Sat Jan 05, 2008 3:39 am
D:
unable to install gcc
:: 7 :: Reply #38080 Reply By Deepu On Fri Jan 25, 2008 1:16 am
Deepu:
i can't able install yum and mp3 files also not opening can u give any easy commands & helpful commands

thanks
:: 8 :: Reply #42256 Reply By rousseaun On Thu Feb 21, 2008 8:59 am
rousseaun:
20080221-42256-jersy.jpeg
i'm really shocked, not to get 'yum' in my rhel-4
:: 9 :: Reply #45536 Reply By vishwanathan On Sat Mar 15, 2008 6:30 am
vishwanathan:
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
:: 10 :: Reply #48460 Reply By Hoey On Thu Apr 03, 2008 2:12 pm
Hoey:
getting yum to work on red hat rhel 4

these are the steps i took to install yum and get it to work on rhel 4 as:

(from /root directory)

mkdir /yum
cd /yum

wget dag.wieers /rpm/packages/sqlite/sqlite-2.8.16- dag.wieers /rpm/packages/python-sqlite/python- dag.wieers /rpm/packages/python-urlgrabber/pyt dag.wieers /rpm/packages/python-elementtree/py dag.wieers /rpm/packages/yum/yum-2.4.2-0.4.el4 -ivh sqlite-2.8.16-1.2.el4.rf.i386.rpm -ivh python-sqlite-0.5.0-1.2.el4.rf.i386 -ivh python-urlgrabber-2.9.6-1.2.el4.rf. -ivh python-elementtree-1.2.6-7.el4.rf.i -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm
-uhv apt.sw.be/redhat/el4/en/i386/rpmfor found the packages and info i needed on:

dag.wieers /rpm/packages/?m=d

and
dag.wieers /rpm/faq.php#b
:: 11 :: Reply #48461 Reply By Hoey On Thu Apr 03, 2008 2:15 pm
Hoey:
ooooh! jeez, i'm terribly sorry. my previous post looks garsh-awful. i copied and pasted straight from wordpad. i'll post it again....
:: 12 :: Reply #48462 Reply By Hoey On Thu Apr 03, 2008 2:17 pm
Hoey:
getting yum to work on red hat el 4

these are the steps i took to install yum and get it to work:

(from /root directory)

mkdir /yum
cd /yum

wget dag.wieers /rpm/packages/sqlite/sqlite-2.8.16- dag.wieers /rpm/packages/python-sqlite/python- dag.wieers /rpm/packages/python-urlgrabber/pyt dag.wieers /rpm/packages/python-elementtree/py dag.wieers /rpm/packages/yum/yum-2.4.2-0.4.el4 -ivh sqlite-2.8.16-1.2.el4.rf.i386.rpm -ivh python-sqlite-0.5.0-1.2.el4.rf.i386 -ivh python-urlgrabber-2.9.6-1.2.el4.rf. -ivh python-elementtree-1.2.6-7.el4.rf.i -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm
-uhv apt.sw.be/redhat/el4/en/i386/rpmfor found the packages and info i needed on:

dag.wieers /rpm/packages/?m=d
and
dag.wieers /rpm/faq.php#b

:: 13 :: Reply #48463 Reply By Hoey On Thu Apr 03, 2008 2:19 pm
Hoey:
crud! it still didn't post the way i formatted it! aaarrrgghhh!

ok, i'll try this line by line...
:: 14 :: Reply #48465 Reply By Hoey On Thu Apr 03, 2008 2:20 pm
Hoey:
getting yum to work on red hat el 4

these are the steps i took to install yum and get it to work:

(from /root directory)

mkdir /yum
cd /yum

next, i downloaded all the necessary rpm packages.
:: 15 :: Reply #48467 Reply By Hoey On Thu Apr 03, 2008 2:21 pm
Hoey:
wget dag.wieers /rpm/packages/sqlite/sqlite-2.8.16-
:: 16 :: Reply #48468 Reply By Hoey On Thu Apr 03, 2008 2:25 pm
Hoey:
ah, i see. since i'm not a member, i can't post the links

ok, i downloaded (wget'd) all the necessary packages from dag wieers (dag.wieers )

/rpm/packages/sqlite/sqlit
:: 17 :: Reply #48469 Reply By Hoey On Thu Apr 03, 2008 2:26 pm
Hoey:
/rpm/packages/sqlite/sqlite-2.8.16-
:: 18 :: Reply #48470 Reply By Hoey On Thu Apr 03, 2008 2:27 pm
Hoey:
ah, screw it! just trying to be helpful.
but since i'm not a member, it doesn't know me from a spam bot.
oh well, maybe i'll join later. gotta go!
:: 19 :: Reply #56944 Reply By Tierno On Sun Jun 08, 2008 3:39 am
Tierno:
thanks for the help. it worked just fine.
:: 20 :: Reply #61659 Reply By Navnath On Mon Jul 14, 2008 8:25 am
Navnath:
yum installation command
:: 21 :: Reply #65482 Reply By pithon On Fri Aug 08, 2008 10:47 am
pithon:
i would like to learn how to install python 2.4 for redhat
:: 22 :: Reply #66848 Reply By rakib On Sat Aug 16, 2008 10:29 pm
rakib:
i cann't work with my yum.i'm using fedora 8.
please anybody help me.
:: 23 :: Reply #71605 Reply By Tere On Mon Sep 22, 2008 9:01 am
Tere:
20080922-71605-tere-einstein.jpg
hi, i tried to install yum on your way, but didn't work.

i got the messages:

/bin/sh: msgmerge: command not found
msgmerge -v of cs failed
msgmerge -v of es failed
msgmerge -v of ru failed
msgmerge -v of uk failed

i am from monterrey, mexico, and i am trying to install a voip server, with a sangoma card, and asterisk now. but i need to install libtermcap and other libraries.

it would be easier if i have the yum command installed, but it´s not working.

can you help me please?

thanks a lot.

tere.
:: 24 :: Reply #81188 Reply By yum On Thu Nov 13, 2008 9:44 pm
yum:
do you have installing yum through rpm in fedora?
:: 25 :: Reply #81609 Reply By Rechinu On Sun Nov 16, 2008 5:48 am
Rechinu:
python 2.5.2 (r252:60911, jul 31 2008, 17:31:22)
[gcc 4.2.3 (ubuntu 4.2.3-2ubuntu7)] on linux2
type "help", "copyright", "credits" or "license" for more information.

and now ?
:: 26 :: Reply #84235 Reply By jai On Mon Dec 01, 2008 5:54 am
jai:
superb site.it made my life easy
:: 27 :: Reply #92541 Reply By Devi On Mon Feb 02, 2009 11:35 pm
Devi:
tat was excellently simple....
:: 28 :: Reply #95546 Reply By mohamed On Sun Mar 01, 2009 5:43 am
mohamed:
hello ,

i reallly will cry
iam working in my server
web server linux centos 5
and their was no nano, pico , wget .
and aloooooooot

and i have solve that
but also their was no yum
and i traied and tried and tried
to get yum but nothing help

i get a lot of errors

i hope you can help me to solve that and install yum plz
-----------------------
w i type
rpm -q python
[root at vps]# rpm -q python
python-2.4.3-21.el5
--
[root at vps ~]# python
python 2.5 (r25:51908, feb 28 2009, 17:34:54)
[gcc 4.1.2 20071124 (red hat 4.1.2-42)] on linux2
--------------------
reallly i do not know where am i going
:: 29 :: Reply #98599 Reply By swapnil On Sat Mar 28, 2009 10:23 pm
swapnil:
29-471-2418547115-770e3410f6-o.jpg
thank u veru much!!! :)
:: 30 :: Reply #98913 Reply By sameer On Wed Apr 01, 2009 12:05 am
sameer:
i install and it working fine
:: 31 :: Reply #98914 Reply By sameer On Wed Apr 01, 2009 12:07 am
sameer:
call me on xy+xy44344yxx

i need to talk so much
:: 32 :: Reply #117241 Reply By ClyS On Mon Oct 05, 2009 11:42 pm
ClyS:
thanks for the tutorial.
:: 33 :: Reply #125211 Reply By sahil On Sun Jan 03, 2010 6:35 pm
sahil:
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
:: 34 :: Reply #127090 Reply By Eric On Sat Jan 30, 2010 10:32 pm
Eric:
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..