RPM Package Management

From wiki
Revision as of 12:14, 17 June 2021 by Johayek (talk | contribs) (Created page with "== repoquery == --plugins: enable YUM plugin support. <pre> repoquery --query --list --plugins PACKAGE </pre> == rpm == * http://linux.die.net/man/8/rpm * which package prov...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

repoquery

--plugins: enable YUM plugin support.

repoquery --query --list --plugins PACKAGE

rpm

$ 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