Linux Foundation Certified System Administrator (LFCS) — Question 16
Which of the following commands can be used to download the RPM package kernel without installing it?
Answer options
- A. yum download --no-install kernel
- B. yumdownloader kernel
- C. rpm --download --package kernel
- D. rpmdownload kernel
Correct answer: B
Explanation
The correct answer is B, as 'yumdownloader kernel' is specifically designed to download RPM packages without installing them. Option A is incorrect because it uses a command that is not valid in this context. Option C is wrong since the 'rpm' command does not have a download option, and option D is not a recognized command for downloading RPM packages.