List the files installed by a RPM package
Hi everyone,
I just want know if there are any commands in RedHat or Fedora that would list all the files that are installed by an RPM package. Is it stored in some file as in debian where a file with a .list extension will be present for every package installed? Thanks in advance |
For a package thats already installed, use
Code:
$rpm -ql packagename Code:
$rpm -qlp package-version.rpm |
Thanks
Thank you very much for the reply.
How is this stored on the filesystem? In database form or just a plain text file for each package as in debian and slack? If they are stored in file, where are they located? Regards |
Its stored somewhere in /var/lib/rpm. I am not sure what kind of database it is, so maybe it will help you if you read the rpm manual or take a look at max rpm.
|
FYI another useful command is the "man" command to display the manual page for a command.
For instance "man rpm" (no quotes) will give you many options you can use for finding information about RPM packages. |
Thank you so much again
|
Oh thanks this helped me out too!
|
All times are GMT -5. The time now is 04:24 PM. |