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

29th November 2004, 10: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, 11:05 AM
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, 11:16 AM
or try
rpm -qil gaim
for instance to see where gaim installed itself ;)

29th November 2004, 12: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, 09:32 PM
The key here is the --list, or -l option. Adding that to any query lists the files.

Priozersk Photos - Ris-Orangis - Quanzhou Travel Photos on Instagram