RPM Package Management: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== DNF == | |||
* https://en.wikipedia.org/wiki/DNF_(software) | |||
== yum == | |||
* https://en.wikipedia.org/wiki/yum_(software) | |||
== yum-utils == | == yum-utils == | ||
<pre> | <pre> | ||
Line 12: | Line 18: | ||
== rpm == | == rpm == | ||
* 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? |
Revision as of 12:22, 17 June 2021
DNF
yum
yum-utils
yum install yum-utils
repoquery
--plugins: enable YUM plugin support.
repoquery --query --list --plugins PACKAGE
rpm
- https://en.wikipedia.org/wiki/RPM_Package_Manager
- http://linux.die.net/man/8/rpm
- which package provides FILE?
$ 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