PDA

View Full Version : How can I check the rpm files?



chiku31
29th November 2004, 11:55 AM
I just had a quick question about how to check what files are installed where where do they installed in my system after I installed a rpm package?

ilja
29th November 2004, 12:05 PM
Which packages are installed:


rpm -qa |less

Is the package gaim installed


rpm -qa | grep gaim

Where is gaimed installed


whereis gaim

or


locate gaim

Northern
29th November 2004, 12:16 PM
or try
rpm -qil gaim
for instance to see where gaim installed itself ;)

foolish
29th November 2004, 01:23 PM
If you want to check before installing the package, add the -p flag.
Example:

This will print a list of all files in the package:


rpm -qlp redhat-artwork-0.99-1.i386.rpm


You can do this to urls as well.

Jman
29th November 2004, 10:32 PM
The key here is the --list, or -l option. Adding that to any query lists the files.