Tuesday, November 21, 2017

list files in installed package/rpm file


list the files for already INSTALLED package:

rpm -ql package-name


To list the files for specific RPM package downloaded:

rpm -qlp package.rpm

--

To list the rpm  which installed the specific file(executable / configuration file).

rpm -qf   /path/to/the/file

--

No comments:

Post a Comment