RPM Package Management: Difference between revisions

From wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 1: Line 1:
== repoquery ==
== yum-utils ==
--plugins: enable YUM plugin support.
<pre>
yum install yum-utils
</pre>
 
=== repoquery ===
''--plugins'': enable YUM plugin support.


<pre>
<pre>

Revision as of 12:17, 17 June 2021

yum-utils

yum install yum-utils

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