Which command downloads the nano package as an RPM using yumdownloader?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command downloads the nano package as an RPM using yumdownloader?

Explanation:
yumdownloader fetches a package’s RPM from configured repositories without installing it. Running yumdownloader nano downloads the nano RPM into your current directory, giving you the file you can inspect or install later. If you want to pull in dependencies at the same time, you can add --resolve, but the basic usage shown downloads just the nano RPM itself. The other options don’t fit this goal: installing with yum install would actually install the package, not just download it; rpm -ivh nano.rpm would install a pre-downloaded RPM from disk; and dnf download would use DNF’s tooling, not yumdownloader, which is specifically what the question is asking about.

yumdownloader fetches a package’s RPM from configured repositories without installing it. Running yumdownloader nano downloads the nano RPM into your current directory, giving you the file you can inspect or install later. If you want to pull in dependencies at the same time, you can add --resolve, but the basic usage shown downloads just the nano RPM itself. The other options don’t fit this goal: installing with yum install would actually install the package, not just download it; rpm -ivh nano.rpm would install a pre-downloaded RPM from disk; and dnf download would use DNF’s tooling, not yumdownloader, which is specifically what the question is asking about.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy