Find where packages have been installed using rpm
22,819
rpm -ql package
should give you a list of all files installed for a given package.
Related videos on Youtube
Author by
ant2009
Updated on September 17, 2022Comments
-
ant2009 over 1 year
CentOS 5.3
I have been installing some packages using
rpm -ivh package
However, I am just wondering what command I can use to find the path of where the packages are installed.
Many thanks,
-
Etan Reisner almost 11 yearsrpm -qpl package.rpm will list the files the package contains before installing it.