dnf
Package manager for Fedora 41+ and RHEL 10. For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.
More info →Subcommands (11)
Install dependencies to build a given package. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
View the changelogs for a given package. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
Perform cleanup of temporary files kept for Red Hat-based repositories.
This command is an alias of `dnf repoquery --deplist`.
Download RPM packages from the DNF repositories. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
Manage virtual collections of packages on Fedora-based systems.
Install packages on Red Hat-based distributions.
Manage package modularity.
Query packages for information.
Synchronize packages and metadata of a remote DNF repository to a local directory. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
Protect packages from updates to newer versions. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
Options (6)
booleanUpgrade installed packages to the newest available versions
sudo dnf {{[up|upgrade]}}booleanSearch packages via keywords
dnf {{[se|search]}} {{keyword1 keyword2 ...}}booleanDisplay details about a package
dnf {{[if|info]}} {{package}}booleanInstall new packages (use `--assumeyes` to confirm all prompts automatically)
sudo dnf {{[in|install]}} {{package1 package2 ...}}booleanRemove packages
sudo dnf {{[rm|remove]}} {{package1 package2 ...}}booleanList installed packages
dnf {{[ls|list]}} --installed