LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   finding installed rpm files (https://www.linuxquestions.org/questions/linux-newbie-8/finding-installed-rpm-files-261428/)

phoenix_wolf 12-01-2004 03:02 PM

finding installed rpm files
 
Greetings fellow Linux users


I have just installed Suse linux, I also installed and am ruining opera (a web browser).
opera went under Applications and under webbrowsers. As you can see installing it form a rpm is not the problem,

my problem is I just downloaded a file sharing program called edonkey it is in a RPM format now I did the same as on opera like so (rpm -ivh <name of file>).

I did this under it own folder (ed2k) now after I did it I can not find the files that it unpacked and or installed. where are they? this is not a gui program it is text based the problem is it is not on the menu and I cant seem to find it any where.

ps: do any of you know where video codic for lunux is I have a pac for windows but i need one for Linux.

Thank you all

david_ross 12-01-2004 03:09 PM

List the files for an installed package with:
rpm -ql packagename

I'm not sure what video codecs you are looking for but try mplayer:
http://www.mplayerhq.hu

phoenix_wolf 12-01-2004 03:31 PM

OK after I run the (rpm -ql) command it tells me that it is not installed (I am doing this on root) and then when I go back and to the (rpm -ivh) command it tells me that it is installed already.

david_ross 12-01-2004 03:39 PM

Are you using just the package name and not the full rpm file name?

phoenix_wolf 12-01-2004 04:26 PM

I type it like so (rpm -ivh filename.rpm)

I also installed the Mplayer and when trying to configure it doing this (./configure) it tells me that i need a newer gcc C compiler. where do I find it on the net and where do I install it on the pc I am using suse 9.1. also how do I find what verson I have here.

reddazz 12-01-2004 04:36 PM

What distro are you actually using? To install a package that your rpm database insists is already installed, you can do "rpm -Uvh --force packagname.rpm" or "rpm -Uvh --force --nodeps packagname.rpm".

phoenix_wolf 12-01-2004 04:48 PM

Ok I put both of them ("rpm -Uvh --force packagname.rpm" or "rpm -Uvh --force --nodeps packagname.rpm".) but all it does is show the preparing and installing but I can not find where the files went to or the program on the menu. I am using Suse 9.1 also where do i finde the gcc C compiler verson that I have.

reddazz 12-02-2004 02:23 AM

Most rpms install packages in your PATH so you may just have to type the program name in a console to get it running. If it doesn't work for you, you can find out whether your package is installed, by typing "rpm -qa | grep -i packagename" . Don't type all the details about the rpm, just the name. If it's installed, to find out what files are contained in the rpm, run "rpm -qlp packagname". Hopefully u'll be able to get the name of the executable after runnning those commands.


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