How to query installed files from a package and query which package one installed file is in will be introduced.
Query installed files from a package
$ rpm -ql package_name
Query which package a installed file is in
$ rpm -qf /full/path/to/installed/file
The following two tabs change content below.
Latest posts by Eric Zhiqiang Ma (see all)
- Vim Tutorial for Beginners: vimtutor - Dec 31, 2016
- Essential Gnome Shell Extensions for Gnome 3 Users - Oct 22, 2016
- How to Install 32-bit Wine 1.8 on CentOS 7 - Oct 16, 2016