LFCS · Question #818
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 is specifically designed to download RPM packages and their dependencies from Yum repositories without performing an installation.
Question
Options
- Ayum download --no-install kernel
- Byumdownloader kernel
- Crpm --download --package kernel
- Drpmdownload kernel
How the community answered
(27 responses)- A4% (1)
- B85% (23)
- C4% (1)
- D7% (2)
Why each option
The `yumdownloader` utility is specifically designed to download RPM packages and their dependencies from Yum repositories without performing an installation.
The `yum download` command exists as a plugin for some `yum` versions (e.g., `yum-utils`), but `yumdownloader` is the more universally recognized and dedicated utility for this purpose across various distributions.
The `yumdownloader` command is a dedicated utility that allows users to download RPM packages from configured Yum repositories without immediately installing them. It also downloads any necessary dependencies by default.
The `rpm` command itself does not have a direct `--download` option; it is used for local package installation, queries, and verification, not for fetching from repositories.
`rpmdownload` is not a standard or recognized command for downloading RPM packages from repositories.
Concept tested: Downloading RPMs without installation
Source: https://man7.org/linux/man-pages/man8/yumdownloader.8.html
Topics
Community Discussion
No community discussion yet for this question.