dnf is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.
sudo dnf install <package>dnf is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.
dnf [options] commanddnf is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.
sudo dnf install <package>Show command help and options where supported.
dnf --help| Option / clause | Description |
|---|---|
install / remove <package> | Install or remove packages; inspect dependency changes first. |
search <term> | Search package names and summaries. |
info <package> | Display package and repository details. |
--refresh | Refresh cached metadata before the operation. |
-y, --assumeyes | Answer prompts automatically. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.