-   Linux - Newbie (
-   -   installing packages (

gurra59 09-10-2003 08:59 AM

installing packages
I'm currently trying to install the plug-in from xmms so I can play mp3s..
I can't remember if I did it before (cus it's not working) so I im going to reinstall it.. however, when I typ "rpm xmms-mpg123-1.2.7-21.i386.rpm" in console as a root it tells me the package is already installed... but when I typ "rpm --query xmms-mpg123-1.2.7-21.i386.rpm" it tells me it's _not_ installed.. what could be the problem, installed or not?


Mathieu 09-10-2003 09:52 AM

When you query the RPM database or remove an RPM from the system,
do not include the .i386.rpm at the end.

So try the following command:

rpm --query xmms-mpg123-1.2.7-21
Or you can use the following syntax in order to search for all packages with the word xmms:

rpm -qa | grep xmms

bitpicker 09-10-2003 09:53 AM

If you've got KDE you could use kpackage to install the rpm and solve problems. Depending on what distribution you are using there might be another program to handle RPMs as well.


gurra59 09-10-2003 10:38 AM

Mathieu, thanks, it worked nicley!

bitpicker, how do I know If I got KDE or not?
I tried to type kpackage in console, but nothing happend.

Mathieu 09-10-2003 12:00 PM

You may or may not have kpackage installed.
It all depends on which Linux distribution and version you are using.

KDE or Gnome.
Take a look in the /etc/sysconfig/desktop file.
go in to the menu and click on Control Center (or Control Panel...)

gurra59 09-10-2003 05:38 PM

it says Im running GNOME!
which means??

Mathieu 09-10-2003 06:32 PM

You are currently using the Gnome desktop.
kpackage is part of the KDE desktop.

gurra59 09-11-2003 11:35 AM

ok! is KDE included in RH9? i have the downloaded version

snatale1 09-11-2003 03:36 PM

KDE is included in RH9 but not by default. You'll have to add it in through add/remove applications .

gurra59 09-11-2003 03:41 PM

what's the difference between Gnome and KDE anyway?

bitpicker 09-12-2003 07:55 AM

Lots of differences, mostly it's a matter of taste. I like KDE better, and I get the impression that the software developed for KDE is several steps ahead of that for Gnome. But as the programs also run in the other environment, too (and other window managers as well), it remains a question of preference. If you had had KDE installed you could have used kpackage because it would probably have been there; if you've only got Gnome you would have to install kpackage or whatever Gnome has as a substitute, if there is any.

There is also the urpmi command to be used from the console, and gurpmi for an X Window system (for all it's worth the 'g' might even mean it's a graphical urpmi frontend for Gnome). Urpmi is more comfortable than rpm and quite simple to use.


All times are GMT -5. The time now is 11:58 PM.