XK0-005 · Question #522
XK0-005 Question #522: Real Exam Question with Answer & Explanation
The correct answer is A: dnf remove packagename. The command that can be used to remove an RPM package that was installed by mistake is dnf remove packagename. This command will use the DNF package manager to uninstall an RPM package and its dependencies from a Linux system that uses RPM-based distributions, such as Red Hat Ent
Question
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?
Options
- Adnf remove packagename
- Bapt-get remove packagename
- Crpm -i packagename
- Dapt remove packagename
Explanation
The command that can be used to remove an RPM package that was installed by mistake is dnf remove packagename. This command will use the DNF package manager to uninstall an RPM package and its dependencies from a Linux system that uses RPM-based distributions, such as Red Hat Enterprise Linux or CentOS. The DNF package manager handles dependency resolution and metadata searching for RPM packages.
Topics
Community Discussion
No community discussion yet for this question.