CompTIA Linux+ (XK0-005) — Question 125
A Linux administrator needs to remove software from the server. Which of the following RPM options should be used?
Answer options
- A. rpm -s
- B. rрm -d
- C. rpm -q
- D. rpm -e
Correct answer: D
Explanation
The correct command to remove a software package in RPM is 'rpm -e', which stands for 'erase'. The other options are incorrect as 'rpm -s' is used for querying the status of packages, 'rрm -d' is not a valid command, and 'rpm -q' is used for querying package information.