Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:

All you have to know about RPM

by Alexandre de Abreu

How can I list what files will be installed by a RPM package?

This is usefull when you have to verify the contents of a package, execute the following on the shell to see the contents of the installed package "cpp":

rpm -ql cpp

The "-l" parameter stands for list. And here's the output:

# rpm -ql cpp

To do the same for a package file(ex: cpp-3.3.2-1.i386.rpm) add the parameter "-p" indicating a RPM package:

rpm -qpl cpp-3.3.2-1.i386.rpm