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?
D. dnf update
Explanation:
dnf is the default package manager for RPM-based Linux distributions like Fedora, CentOS, and RHEL. The update command is used to update all installed packages to their latest versions. Running dnf update will download and install the latest versions of all installed packages, along with any necessary dependencies.
The other options are not correct for the following reasons:
apt-get is a package manager for Debian-based distributions and not RPM-based distributions.
rpm -a is used to query information about all installed packages and not update them.
yum updateinfo is used to display information about available updates but not update packages.
yum check-update is used to check for available updates but not install them.
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Alizadeh
8 months, 3 weeks agolinux_admin
1 year, 2 months ago