admin:linux:dnf

Dandified Yum (dnf)

see also: pacman rosetta

find package which contains file rpm -qf /path/to/file
clean caches dnf clean all
disable repository dnf config-manager --set-disabled NAME-OF-REPO
upgrade system to new release dnf system-upgrade download --refresh --releasever=VERSION_NUMBER
/etc/dnf/dnf.conf
# set "yes" as default for operations (Y/n instead of y/N)
defaultyes=True
  • Last modified: 2020-07-26 20:10