|
/etc/dnf/dnf.conf DNF configuration file
|
|
/etc/yum.repos.d all repo files
|
|
dnf list --all list all installed and available packages
|
|
dnf list expression list packages matching expression
|
|
dnf list --installed expression list installed packges matching expression
|
|
dnf list --available expression list available packages matching expression
|
|
dnf list --extras expression list extras packages matching expression
|
|
dnf list --obsoletes expression list obsoletes packages matching expression
|
|
dnf list --recent expression list recent packages matching expression
|
|
dnf list --upgrades expression list upgrades available for packges matching expression
|
|
dnf list --autoremove list orphaned packages
|
|
dnf info package_name show info of package_name
|
|
dnf provides path/to/file show which package provides /path/to/file
|
|
dnf search term search for term in package name and summary
|
|
dnf install dnf-plugins-core install dnf core plugins
|
|
dnf download package download package
|
|
dnf install package_name install package and dependencies
|
|
dnf install /path/to/local/rpm install local package and dependencies
|
|
dnf install /path/to/file install package which provides /path/to/file
|
|
dnf reinstall package_name reinstall package and dependencies
|
|
dnf downgrade package_name downgrade package
|
|
dnf mark install package_name marks the specified packages as installed by user.
|
|
dnf unmark remove package_name unmarks the specified packages as installed by user
|
|
dnf mark group package_name marks the specified packages as installed by group
|
|
dnf history list list dnf transactions history
|
|
dnf history info transaction show info of particular transaction
|
|
dnf history redo transaction redo particular transaction
|
|
dnf history rollback transaction rollback particular transaction
|
|
dnf history undo transaction undo particular transaction
|
|
dnf history userinstalled show all installonly packages, packages installed outside of DNF and packages not installed as dependency
|
|
dnf check-update check if updates available
|
|
dnf upgrade update packages to latest version
|
|
dnf upgrade-minimal update packages to major patchset and security
|
|
dnf distro-sync update packages to latest version
|
|
dnf repolist --enabled|--disabled|--all lists enabled, disabled or all known repositories
|
|
dnf repoquery searches the available DNF repositories for selected packages
|
|
dnf repository-packages run commands on top of all packages in the repository
|
|
dnf config-manager --add-repo=URL add remote repository
|
|
dnf group summary group show overview of how many groups are installed and available
|
|
dnf group info group show package lists of a group
|
|
dnf group install --with-optional group install packages the group contains
|
|
dnf group list group list all matching group
|
|
dnf group remove group remove those packages in the group
|
|
dnf group upgrade group upgrades the packages from the group and upgrades the group itself
|
|
dnf remove package_name uninstall package_name
|
|
dnf autoremove uninstall orphaned packages
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.