RPM

Created Tuesday 28 April 2020

Get metadata for an rpm:
$ rpm -qip PACKAGE.rpm

DNF


Add a repository:
$ dnf config-manager --add-repo http://www.example.com/example.repo

List repositories:
$ dnf repolist

List packages available in a repository:
$ dnf repository-packages REPOID info --available

List all versions in enabled repositories:
$ dnf --showduplicates list PACKAGE