LPIC-1 Exam 101 v5 (Linux Administrator) — Question 75
A yum repository can declare sets of related packages. Which yum command installs all packages belonging to the group admintools?
Answer options
- A. yum pkgsel --install admintools
- B. yum install admintools/*
- C. yum groupinstall admintools
- D. yum taskinstall admintools
- E. yum collection install admintools
Correct answer: C
Explanation
The correct command to install all packages in a group is 'yum groupinstall admintools', which is specifically designed for this purpose. The other options either do not exist in yum or do not serve the function of installing a group of packages.