LX0-103 · Question #5
Which of the following commands can be used to download the RPM package kernel without installing it?
The correct answer is B. yumdownloader kernel. The yumdownloader utility downloads RPM packages to disk without installing them, and is the standard tool for this purpose on RPM-based systems.
Question
Which of the following commands can be used to download the RPM package kernel without installing it?
Options
- Ayum download --no-install kernel
- Byumdownloader kernel
- Crpm --download --package kernel
- Drpmdownload kernel
How the community answered
(35 responses)- A3% (1)
- B89% (31)
- C3% (1)
- D6% (2)
Why each option
The yumdownloader utility downloads RPM packages to disk without installing them, and is the standard tool for this purpose on RPM-based systems.
'yum download --no-install' is not valid yum syntax; the '--no-install' flag does not exist for the yum command.
yumdownloader is a dedicated utility included in the yum-utils package designed specifically to download RPM packages without installing them. Running 'yumdownloader kernel' fetches the RPM file to the current directory, resolving the package name against configured repositories just as yum install would, but stopping short of installation.
The rpm command does not have a '--download' flag; rpm operates on local package files and does not fetch packages from repositories.
'rpmdownload' is not a real command and does not exist on any standard Linux distribution.
Concept tested: Downloading RPM packages without installing using yumdownloader
Source: https://linux.die.net/man/1/yumdownloader
Topics
Community Discussion
No community discussion yet for this question.