The package manager used by Fedora Linux is `dnf`.
DNF stands for Dandified YUM and manages software packages on Fedora’s RPM-based system. It can install, remove, update, search for, and inspect packages while resolving dependencies automatically. Typical commands include `sudo dnf install package-name`, `sudo dnf upgrade`, and `dnf search keyword`.
DNF was introduced in Fedora 18 in 2013 as a successor to YUM, with improvements in dependency resolution, memory use, and performance. Fedora made it the default command-line package manager in Fedora 22, released in 2015. DNF works with RPM packages and uses repositories configured for the system.
A frequent source of confusion is the answer `yum`. YUM was Fedora’s older package manager, and on several Red Hat-family systems—including modern Red Hat Enterprise Linux derivatives—the `yum` command may still exist as a compatibility alias for DNF. However, Fedora’s standard current package-management command is DNF. Debian and Ubuntu instead use APT, while Arch Linux uses Pacman.