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 == | ||
YUM allows for automatic updates and package and dependency management on RPM-based distributions. | YUM allows for automatic updates and package and dependency management on RPM-based distributions. | ||
YUM works with software repositories (collections of packages), which can be accessed locally or over a network connection. | YUM works with software repositories (collections of packages), which can be accessed locally or over a network connection. | ||
* .. | * https://en.wikipedia.org/wiki/yum_(software) | ||
== yum-utils == | == yum-utils == | ||
Line 70: | Line 18: | ||
''--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 25: | ||
* 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 --file FILE | $ rpm --query --file FILE | ||
</pre> | </pre> | ||
* list the contents of PACKAGE: | * list the contents of PACKAGE: | ||
<pre> | <pre> | ||
Line 89: | Line 34: | ||
$ 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> | ||