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://www.redhat.com/sysadmin/how-manage-packages | * https://www.redhat.com/sysadmin/how-manage-packages | ||
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) | ||
* which package provides this file? | * which package provides this file? | ||
Line 39: | Line 19: | ||
* which repo provides this package? | * which repo provides this package? | ||
<pre> | <pre> | ||
$ yum list | $ yum list | fgrep PACKAGE | ||
</pre> | </pre> | ||
Line 45: | Line 25: | ||
<pre> | <pre> | ||
$ yum list installed | fgrep PACKAGE | $ yum list installed | fgrep PACKAGE | ||
</pre> | </pre> | ||
Line 89: | Line 54: | ||
$ 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> | ||