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

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?

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


locate gaim

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

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

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.

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

Hospital San Jose - Disobedient Objects Travel Photos - Havaianas Bali Travel Photos - Mercantina