220-1102 · Question #377
Which of the following best describes when to use the YUM command in Linux?
The correct answer is A. To add functionality. The YUM (Yellowdog Updater, Modified) command in Linux is used to manage software packages, allowing users to install, update, remove, and query packages, thereby adding or modifying system functionality. It handles dependencies automatically for these operations.
Question
Which of the following best describes when to use the YUM command in Linux?
Options
- ATo add functionality
- BTo change folder permissions
- CTo show documentation
- DTo list file contents
How the community answered
(34 responses)- A91% (31)
- B3% (1)
- C3% (1)
- D3% (1)
Why each option
The `YUM` (Yellowdog Updater, Modified) command in Linux is used to manage software packages, allowing users to install, update, remove, and query packages, thereby adding or modifying system functionality. It handles dependencies automatically for these operations.
`YUM` is a command-line package-management utility for RPM-compatible Linux operating systems, such as CentOS and Fedora. Its primary purpose is to simplify the process of installing, updating, and removing software packages and their dependencies, which effectively means adding or removing functionality to the system.
To change folder permissions, the `chmod` command is used, not `YUM`.
To show documentation for commands or system features, the `man` (manual) command is typically used, not `YUM`.
To list file contents, commands like `ls`, `cat`, or `more` are used, not `YUM`.
Concept tested: Linux package management-YUM
Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-yum
Topics
Community Discussion
No community discussion yet for this question.