XK0-005 · Question #443
A Linux administrator has been tasked with installing the most recent versions of packages on a RPM- based OS. Which of the following commands will accomplish this task?
The correct answer is D. dnf update. The dnf update command will accomplish the task of installing the most recent versions of packages on a RPM-based OS. This command will check for available updates from the enabled repositories and apply them to the system. The apt-get upgrade command is used to install updates…
Question
A Linux administrator has been tasked with installing the most recent versions of packages on a RPM- based OS. Which of the following commands will accomplish this task?
Options
- Aapt-get upgrade
- Brpm -a
- Cyum updateinfo
- Ddnf update
- Eyum check-update
How the community answered
(30 responses)- A3% (1)
- C3% (1)
- D93% (28)
Explanation
The dnf update command will accomplish the task of installing the most recent versions of packages on a RPM-based OS. This command will check for available updates from the enabled repositories and apply them to the system. The apt-get upgrade command is used to install updates on a Debian- based OS, not a RPM-based OS. The rpm -a command is invalid, as -a is not a valid option for rpm. The yum updateinfo command will display information about available updates, but it will not install them. The yum check-update command will check for available updates, but it will not install them.
Topics
Community Discussion
No community discussion yet for this question.