LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where is YUM and how do I use it (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-yum-and-how-do-i-use-it-341963/)

meastwood 07-10-2005 05:27 PM

where is YUM and how do I use it
 
OK, I see al lthe stuff about Fedora uses yum now rather than up2date... but I don't have yum. A find / -name yum -print finds some repos but nothing else. I can't run the thing. I just loaded Fedora 4 as upgrade from RH8.

phil.d.g 07-10-2005 05:48 PM

yum

Thats from the fedora core download server, for version 4.

Install that then you can do
Code:

man yum
to learn how to use it

meastwood 07-10-2005 07:22 PM

I just installed Fedora 4, so it should be here already or I have to get some RPM from the Fedora site? Yes, I can get the man page when yum exists, but right now it doesn't exist at all in any form.

fatrat 07-10-2005 07:27 PM

Try " yum update" in a console.

meastwood 07-10-2005 07:32 PM

bash doesn't find it. I'm using the all the defaults for the root login. I just got the system up and haven't configured much yet.

if you do "which yum" on your system, where is it found? The shell have to find the thing (the yum script/executable) , right?

Michael Johnson 07-10-2005 08:21 PM

Look at your disc FC disc 1. It will have a file yum-2.3.2-7.noarch.rpm. You will need to install this rpm. use
#rpm -U --allfiles yum-2.3.2-7.noarch.rpm
and see if all goes ok. You can do this to force it to install
#rpm -U --allfiles --force --nodeps yum-2.3.2-7.noarch.rpm
Try the first on first. The second is a last resort approach.

btmiller 07-10-2005 09:44 PM

I just discovered that if you upgrade an old RH distro to FC, yum won't be installed automatically (probably because old RHs don't have yum). Just grab it and install it by hand.

phil.d.g 07-11-2005 03:37 AM

If the yum man page was there I'd expect yum to be installed; you have to be root to use yum, so it may not be in the normal user's path

what happens when you do
Code:

locate yum
and as root:
Code:

whereis yum


All times are GMT -5. The time now is 07:10 PM.