LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to use 'yum' (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-yum-353776/)

woodland56 08-16-2005 07:17 AM

how to use 'yum'
 
hi

i am trying to install mplayer. i have rpm file for mplayer and all the dependencies rpm files also. and when i try to install using
yum install mplayerfilename.rpm

i get some error, can somebody tell me how to use yum to install

ethics 08-16-2005 07:23 AM

It would help people tremendously if you could post the exact error.

In addition editing your profile and adding your distributon can help tailor fixes to you.

There's a number of things that could be wrong with yum but untill i know the specifics ie. error and distribution it's hard to tell.

If by chance you use Fedora core like me:

http://www.fedorafaq.org/ - this has some basic but very useful Info (including a section on yum)

http://stanton-finley.net/fedora_cor...ion_notes.html - more specific FC 3 info
http://stanton-finley.net/fedora_cor...ion_notes.html - more specific FC 4 info

b0nd 08-16-2005 07:23 AM

Hi buddy,
It would have been a lot easier to google "how to use YUM"
any ways i did it and found the follwing link
Code:

http://www.fedoraforum.org/forum/showthread.php?t=25880
regards

woodland56 08-16-2005 08:27 AM

hi

when i do

yum install mplayerfilename.rpm


i get the following error.

setting up install process
setting up repos
cannot find a valid baseurl for repo :base

so, i have FC3, on compaq presario r3000 laptop. i have partitioned harddisk into win xp and FC3. right now i am accesing net via wireless in win xp , so when i boot in to linux i dont
have any internet connection . so how do i get around this difficulty. right now what i do is download rpm files in win xp and then boot in to fc3 an use these files. so please
advice me. i used rpmfind.net to get the rpm files and the dependencies.


regards
wood

phil.d.g 08-16-2005 09:13 AM

Code:

man yum
man rpm

http://stanton-finley.net/fedora_cor...ion_notes.html
http://stanton-finley.net/fedora_cor...ion_notes.html
http://www.fedora.us/wiki/FedoraHOWTO
http://www.brandonhutchinson.com/I_j..._Now_what.html
http://forums.fedoraforum.org/archiv...p/t-45571.html
http://www.fedorafaq.org/#installsoftware

What you are trying to do has been asked and documented many times before the above was found in 15 seconds.

Hint: you don't use yum to install an rpm file on your local hdd, you use rpm

reddazz 08-16-2005 11:46 AM

Go to livna, download and install their livna release rpm for the version of FC that you are using. Once thats done, just do
Code:

#yum list | grep -i mplayer
a list of mplayer packages will be listed and you can install the ones you need by doing
Code:

#yum install package1 package2


All times are GMT -5. The time now is 05:44 AM.