Editing RPM Package Management
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== DNF == | == DNF == | ||
DNF is a rewrite of yum, DNF replaced YUM as the default package manager in Fedora 22. | DNF is a rewrite of yum, DNF replaced YUM as the default package manager in Fedora 22. | ||
* https://en.wikipedia.org/wiki/DNF_(software) | * https://en.wikipedia.org/wiki/DNF_(software) | ||
== yum == | == yum == | ||
* https://en.wikipedia.org/wiki/yum_(software) | * https://en.wikipedia.org/wiki/yum_(software) | ||
== yum-utils == | == yum-utils == | ||
Line 70: | Line 14: | ||
''--plugins'': enable YUM plugin support. | ''--plugins'': enable YUM plugin support. | ||
<pre> | <pre> | ||
$ repoquery --query --list --plugins PACKAGE | $ repoquery --query --list --plugins PACKAGE | ||
Line 78: | Line 21: | ||
* https://en.wikipedia.org/wiki/RPM_Package_Manager | * https://en.wikipedia.org/wiki/RPM_Package_Manager | ||
* http://linux.die.net/man/8/rpm | * http://linux.die.net/man/8/rpm | ||
* which package provides FILE? | * which package provides FILE? | ||
<pre> | <pre> | ||
$ rpm --query - | $ rpm --query -f FILE | ||
</pre> | </pre> | ||
* list the contents of PACKAGE: | * list the contents of PACKAGE: | ||
<pre> | <pre> | ||
Line 89: | Line 30: | ||
$ rpm --query --queryformat "[%{=NAME}-%{=VERSION}-%{=RELEASE}:\t%-50{FILENAMES} %10{FILESIZES}\n]" PACKAGE | $ rpm --query --queryformat "[%{=NAME}-%{=VERSION}-%{=RELEASE}:\t%-50{FILENAMES} %10{FILESIZES}\n]" PACKAGE | ||
</pre> | </pre> | ||