RPM Package Management
Jump to navigation
Jump to search
repoquery
--plugins: enable YUM plugin support.
repoquery --query --list --plugins PACKAGE
rpm
- http://linux.die.net/man/8/rpm
- which package provides FILE?
$ rpm --query -f FILE
- list the contents of PACKAGE:
$ rpm --query PACKAGE $ rpm --query --queryformat "[%{=NAME}-%{=VERSION}-%{=RELEASE}:\t%-50{FILENAMES} %10{FILESIZES}\n]" PACKAGE