Operating Systems
A technician needs to bring every installed package on a Fedora workstation up to its latest available version. Which command does this?
Show the answer
Correct answerA. sudo dnf upgrade
AWhy this is right: dnf upgrade updates installed packages to their latest versions on Fedora, an RPM-based distribution.
BWhy not this: apt is the Debian and Ubuntu package manager and is not used on Fedora.
CWhy not this: It only lists installed packages and changes nothing on the system.
DWhy not this: It only deletes cached package data and does not update any software.
dnf is the package manager on Fedora and other RPM-based distributions, and dnf upgrade installs the latest versions of installed packages. apt upgrade does the same job on Debian-based systems, so it is not the tool on Fedora.