dnf4
Package manager for RHEL 8/9 and older Fedora versions (pre-41). tldr-pages
On Linux
Linux
Package manager for RHEL 8/9 and older Fedora versions (pre-41). For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
Upgrade installed packages to the newest available versions
sudo dnf4 [upIdentifySearch packages via keywords
dnf4 [se keyword1 keyword2 ...IdentifyDisplay details about a package
dnf4 [if packageIdentifyInstall a new package (use --assumeyes to confirm all prompts automatically)
sudo dnf4 [in package1 package2 ...IdentifyRemove a package
sudo dnf4 [rm package1 package2 ...IdentifyList installed packages
dnf4 [ls --installedIdentifyFind which packages provide a given command
dnf4 [wp commandIdentifyView all past operations
dnf4 [histIdentify