RPM Package Management

From wiki
Revision as of 12:22, 17 June 2021 by Johayek (talk | contribs)
Jump to navigation Jump to search

DNF

yum

yum-utils

yum install yum-utils

repoquery

--plugins: enable YUM plugin support.

repoquery --query --list --plugins PACKAGE

rpm

$ 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