dnf - Package manager for RPM
[SYNOPSIS] dnf OPTION COMMAND PACKAGE
command
install Install a package or packages on your system
# dnf install package
reinstall reinstall a package
upgrade Upgrade a package or packages on your system
# dnf upgrade package
upgrade-to Upgrade a package on your system to the specified version
remove Remove a package or packages from your system
# dnf remove package
group Display, or use, the groups information
list List a package or groups of packages
check-update Check for available package upgrades
info Display details about a package or group of packages
provides Find what package provides the given value
search Search package details for the given string
# dnf search keyword
history Display, or use, the transaction history
updateinfo Display advisories about packages

option
-y answer yes for all questions
# dnf -y install package
--enablerepo=repo enable one or more repositories (wildcards allowed)
# dnf --enablerepo=repo install package
--disablerepo=repo disable one or more repositories (wildcards allowed)
# dnf --disablerepo=repo install package
--installroot [path] set install root
--exclude=package exclude packages by name or glob
# dnf --exclude=package update
--releasever RELEASEVER override the value of $releasever in config and repo files
--noplugins disable all plugins
# dnf --noplugins update