DNF4-DOWNLOAD(8)

✨ DNF4-DOWNLOAD(8) ✨

okay so this is the dnf4-download page from dnf-plugins-core, section 8 of the manual β€” it's the DNF download Plugin, and honestly? it's giving "let me just grab that package real quick" πŸ’…


🌸 NAME 🌸

dnf4-download β€” the DNF download Plugin, bestie. it downloads binary or source packages. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

dnf download [options] <pkg-spec>...

πŸ’– ARGUMENTS πŸ’–

  • <pkg-spec> β€” the package spec of whatever you wanna download, no cap. you can also drop local RPMs in here (yes, literally local files) which is lowkey so useful with the --source option, or when you just wanna download the same RPM again. recycling queen behavior ♻️

πŸ‘‘ OPTIONS πŸ‘‘

so all the general DNF options are accepted too β€” peep Options in dnf(8) for the deets. but here's the download-specific menu:

  • --help-cmd β€” shows this help. that's it. that's the whole job 🫢
  • --arch <arch>[,<arch>...] β€” limits the query to packages of the architectures you list. the default is all compatible architectures with your system, which is the sensible vibe. ⚠️ but if you wanna download packages with an arch that's incompatible with your system, you gotta use the --forcearch=<arch> option to change basearch. no shortcuts, bestie.
  • --source β€” downloads the source rpm. also enables source repositories of all enabled binary repositories, so it's doing double duty ✨
  • --debuginfo β€” downloads the debuginfo rpm. same deal: enables debuginfo repositories of all enabled binary repositories πŸ›
  • --downloaddir β€” the download directory. default is the current directory. 🚨 the directory must exist β€” it will not create it for you, it's not your mom.
  • --url β€” instead of actually downloading, it prints the list of urls where the rpms can be downloaded from. window shopping, basically πŸ›οΈ
  • --urlprotocol β€” limits the protocol of the urls output by the --url option. the options are http, https, rsync, ftp. pick your fighter πŸ₯Š
  • --resolve β€” resolves dependencies of the specified packages and downloads the missing dependencies in the system. so you get the whole friend group, not just the main character ✨
  • --alldeps β€” when used with --resolve, download all dependencies (it does not skip the already installed ones). icon behavior, honestly πŸ‘‘

🌈 EXAMPLES 🌈

  • dnf download dnf β€” downloads the latest dnf package to the current directory. classic. iconic. πŸŽ€
  • dnf download --url dnf β€” just prints the remote location url where the dnf rpm can be downloaded from. no downloading, just looking πŸ‘€
  • dnf download --url --urlprotocols=https --urlprotocols=rsync dnf β€” same as above but limits urls to https or rsync urls. (yes, the flag's spelled --urlprotocols with an s in this example β€” copy it exactly, don't come for me 😭)
  • dnf download dnf --destdir /tmp/dnl β€” downloads the latest dnf package to the /tmp/dnl directory. 🚨 the directory must exist, fr fr.
  • dnf download dnf --source β€” downloads the latest dnf source package to the current directory πŸ’œ
  • dnf download rpm --debuginfo β€” downloads the latest rpm-debuginfo package to the current directory πŸ›
  • dnf download btanks --resolve β€” downloads the latest btanks package and the uninstalled dependencies to the current directory. bringing the whole squad 🫢

🧚 AUTHOR 🧚

see AUTHORS in your Core DNF Plugins distribution β€” the whole credits list lives there πŸ’–


2026, Red Hat, Licensed under GPLv2+ β€” slay, legally speaking πŸ‘‘


and that's the page, bestie πŸ’…βœ¨ this was dnf4-download from dnf-plugins-core, version 4.7.0, dated Aug 10, 2026 β€” go forth and download responsibly πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from