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) | ||
* https://opensource.com/article/18/8/guide-yum-dnf | * https://opensource.com/article/18/8/guide-yum-dnf | ||
== yum == | == yum == | ||
Line 26: | Line 15: | ||
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. | ||
* which package provides this file? | * which package provides this file? | ||
Line 55: | Line 39: | ||
<pre> | <pre> | ||
$ yum -y autoremove PACKAGE | $ yum -y autoremove PACKAGE | ||
</pre> | </pre> | ||
Line 89: | Line 68: | ||
$ 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> | ||