Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 754 Bytes

File metadata and controls

41 lines (33 loc) · 754 Bytes

RPM

Install the package but don't touch the updated files:

$ rpm -Uvh <path_to_rpm_file>

List files in a package

rpm -ql <package_name>
rpm -qpl <package_name>.rpm

Find the (installed) package a file belongs to:

rpm -qf /path/to/the/file

List package dependencies

$ rpm -qpR /path/to/package.rpm
$ repoquery --requires <package_name>
$ repoquery --requires --resolve <package_name>

List package conflicts:

$ rpm -qp --conflicts /path/to/package.rpm

List package changelog:

$ rpm -qp --changelog /path/to/package.rpm

List package info

$ rpm -qp --info /path/to/package.rpm

More options on the man page