LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPMs? Need help installing XMMS (https://www.linuxquestions.org/questions/linux-software-2/rpms-need-help-installing-xmms-77844/)

Umbrella 07-31-2003 07:09 PM

RPMs? Need help installing XMMS
 
I downloaded the xmms-mpg123-1.2.7-21.i386.rpm I believe this was the plug-in so I could listen to MP3s on my RH9 system

I also got the xmms-1.2.1-21.src.rpm
and xmms-skins-1.2.7-21.i386.rpm

My questioned being how do I use these damn RPM packages?!?


:newbie:

I got Mplayer and other things to, yet they are in RPM packages and I don't quite understand them. Any help would be helpful....

jon_k 07-31-2003 07:12 PM

It's simple as hell once you get the hang of it! ;-)

rpm -Uvh rpm-name.rp
in a console (you got to be root to use that command!)

The extra arguments (-Uvh) mean the following
* U = updates the package (if applicable)
* v = verbose (detailed output - so if an error should occure, it gives you detailed information on the error - great so if you come back to this forum and have trouble with an rpm!)
* h = prints hash marks as package installs (a progress indicater along with a percent sign, showing how the install is doing)

best of wishes to you

scius 07-31-2003 07:15 PM

to install RPM's, open a console, cd to the directory where the rpm's reside, then type rpm -ivh program.version.number.rpm

Assuming you recieve no errors, the program should now be installed. On the other hand, if you're upgrading, then the command is rpm -Uvh program.#.#.rpm

you're going to have to do this as root (by typing "su" then password)

type "man rpm" for more information and different options

Bah, you beat me to it =)
Well anyway, most importantly don't worry, it all becomes second nature(almost) after awhile.

best of luck

BigNate 07-31-2003 07:43 PM

also just to add to what the other two posters said. Don't use the src rpm till you know what's up with rpm.

Glock Shooter 07-31-2003 07:44 PM

Save yourself some headache by using tab to autocomplete the file name.

BigNate 07-31-2003 07:45 PM

Quote:

Originally posted by Glock Shooter
Save yourself some headache by using tab to autocomplete the file name.
also a good point :)

Umbrella 07-31-2003 08:54 PM

Thanks for the information.
I forgot albout the man pages :)
Yeah the more I use my linux box I the better I get so I'll keep working on it.

One last thing I could use some help with.

My resolution won't change. Its suck on 800x600. And if I change the XF86Config file to 1024x768 then it reverts to the backup.So I changed both. Well that was a bad idea, because then my Xwindows wouldn't boot.:cry: So I had to switch it back (which was hard for me a newb in the command prompt mode).
My monitor is unprobed. (In the display settings) If I find out what monitor is on my T21 Ibm labtop will that inable me to boost my settings?

Anyways Thanks again
:newbie:

Umbrella 07-31-2003 09:04 PM

YAY!! my mp3s work!
Thanks!!
next is DVDs

BigNate 07-31-2003 09:13 PM

with regards to your resolution - what vid chip are you using and what monitor?

Umbrella 07-31-2003 09:16 PM

Installing Mplayer I get this error.

# rpm -ivh mplayer-common-0.90-1.i386.rpm
warning: only V3 signatures can be verified, skipping V4 signature
error: Failed dependencies:
mplayer = 0.90 is need by mplayer-0.90-1


the newbie is lost need more guidance

Umbrella 07-31-2003 09:20 PM

running on a labtop IBM T21 series
vid card is S3 Savage/IX 8megabytes Driver savage
Don't know the monitor, Thats why I say if I knew it I would be able to configure it and then MAYBE I might be able to change the resolution. What timing :)

Disruptor 08-01-2003 03:55 AM

Quote:

Originally posted by Umbrella
Installing Mplayer I get this error.

# rpm -ivh mplayer-common-0.90-1.i386.rpm
warning: only V3 signatures can be verified, skipping V4 signature
error: Failed dependencies:
mplayer = 0.90 is need by mplayer-0.90-1


the newbie is lost need more guidance

I am a little confused by the output too:

"mplayer = 0.90 is need by mplayer-0.90-1" ??

Is this copy-pasted?? It doesn't make sense (at least right away). Why?? I don't know if you are familiar with dependencies, but here is the deal: when an .rpm
package cries for a dependency (just like here) it means that it requires you to have already installed an other package(s) in order it to function properly.

Note: You can make rpm ignore dependencies and install the package
anyways, but it's not a good idea -- respect dependencies to the fullest if you
want your system to be reliable.

Now you might might see why the output above doesn't make sense: mplayer
requires to have it's self installed?? Hmmm ... Anyway the power of the rpm
packaging system is incredible. Maybe it's better to devote some time to get familiar with it in an organized fashion. You may want to follow this link:

http://www.rpmfind.net//linux/RPM/PL...29.noarch.html

This rpm qontains the full documentation of the rpm packaging system. Once you install it you can reach the index of the documentation via path:

/usr/share/doc/maximum-rpm-1.0/index.html

Read chapters: 1 to 7. I don't want to lie to you, it's quite some material to read. But I think that you will find the results more than rewarding. Hope
these help.

Cheers,
Dominique

BigNate 08-01-2003 05:28 AM

Quote:

Originally posted by Umbrella
Installing Mplayer I get this error.

# rpm -ivh mplayer-common-0.90-1.i386.rpm
warning: only V3 signatures can be verified, skipping V4 signature
error: Failed dependencies:
mplayer = 0.90 is need by mplayer-0.90-1

Deps can be problematic. May I suggest apt4rpm.

go here and d/l the apt for RH9.
Then open a terminal su to root. issue:

#rpm -ivh apt.blah.blah3.rpm

then also as root issue
#apt-get update
#apt-get install mplayer

that will handle deps for you. It is a nice tool for getting some software. It is not the be all end all but it sure does make life simple for installing most programs. Then read up on apt as it is expandable. Also do a search for synaptic - it's a graphical front end to apt.

Good luck!

Glock Shooter 08-01-2003 02:26 PM

if you do use apt-get which I recommend, make sure and remove all the old mplayer rpms or it won't work. Do you rpm -qa | grep mplayer to see what is there, and remove them with a rpm -e filename.

Umbrella 08-01-2003 03:36 PM

getting the apt rpm right now, going to give it a shot
anyone got any thoughts on why my video resolution won't go up?


All times are GMT -5. The time now is 02:03 AM.