Professional Documents
Culture Documents
/etc/dnf/dnf.conf DNF configuration file dnf install dnf-plugins-core install dnf core dnf check-update check if updates available
plugins
/etc/yum.repos.d all repo files dnf upgrade update packages to latest version
dnf download package download package
dnf upgrade-minimal update packages to
List major patchset and security
Install
dnf list --all list all installed and available dnf distro-sync update packages to latest
packages dnf install package_name install package version
and dependencies
dnf list expression list packages matching
expression dnf install /path/to/local/rpm install local Repository
dnf list --available expression list available provides /path/to/file dnf repoquery searches the available DNF
packages matching expression dnf reinstall package_name reinstall repositories for selected packages
package and dependencies
dnf list --extras expression list extras dnf repository-packages run commands on
packages matching expression dnf downgrade package_name downgrade top of all packages in the repository
package
dnf list --obsoletes expression list obsoletes dnf config-manager --add-repo= URL add
packages matching expression dnf mark install package_name marks the remote repository
dnf list --recent expression list recent specified packages as installed by user.
dnf list --upgrades expression list upgrades unmarks the specified packages as installed by dnf group summary group show overview of
user
available for packges matching expression how many groups are installed and available
dnf mark group package_name marks the
dnf list --autoremove list orphaned packages dnf group info group show package lists of a
specified packages as installed by group
group
Info dnf group install --with-optional group install
History
dnf info package_name show info of packages the group contains
dnf history list list dnf transactions history
package_name dnf group list group list all matching group
dnf history info transaction show info of
dnf provides path/to/file show which package dnf group remove group remove those
particular transaction
provides /path/to/file packages in the group
dnf history redo transaction redo particular
dnf group upgrade group upgrades the
Search transaction
packages from the group and upgrades the
dnf history rollback transaction rollback group itself
dnf search term search for term in package
particular transaction
name and summary
dnf history undo transaction undo particular Uninstall
transaction
dnf remove package_name uninstall
dnf history userinstalled show all installonly package_n
ame
packages, packages installed outside of DNF
dnf autoremove uninstall orphaned packages
and packages not installed as dependency
cheatography.com/misterrabinhalder/