After installing some RPM packages, a systems administrator discovers the last package that was installed was not needed. Which of the following commands can be used to remove the package?
If you are using a Red Hat-based Linux distribution, such as Fedora or CentOS, the correct command to remove an RPM package that was installed is dnf remove packagename or rpm -e packagename.
In this case, the command dnf remove packagename should be used as it is the modern package manager for Fedora and CentOS. The rpm -e packagename command is also correct, but dnf is recommended as it provides improved functionality over rpm.
apt-get remove packagename and apt remove packagename are commands used to remove packages on Debian-based distributions such as Ubuntu, and are not relevant for Red Hat-based distributions.
It said RPM packages which are usually used on RHEL based systems. (rpm is redhat package manager)
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
1 year, 8 months agolinux_admin
2 years, 2 months agoEngAbood
8 months, 3 weeks agoclair12
6 months, 3 weeks ago