DNF5-DOWNLOAD(8)

πŸ’– dnf5-download πŸ’–

ok so this is the manual page for dnf5-download, living in the dnf5 family of man pages (section 8, bestie, we're in the big-kid admin section πŸ’…). grab a snack, we're downloading stuff.


✨ NAME ✨

dnf5-download β€” the Download Command 🫢


✨ SYNOPSIS ✨

dnf5 download [options] <package-spec-NPFB>...

✨ DESCRIPTION ✨

okay so here's the vibe: the download command in DNF5 is literally just here to download binary and source packages for you. you hand it packages defined in the package-spec-NPFB arguments, and it drops them right into your current working directory. that's it. that's the whole job. iconic behavior honestly πŸŽ€


✨ OPTIONS ✨

  • --arch β€” limits things to packages of the given architectures. you can use this one multiple times, stack 'em up bestie.
  • --resolve β€” resolves the dependencies of the packages you specified and downloads whatever's missing. no cap, it does the homework for you.
  • --alldeps β€” this one only makes sense together with --resolve. it downloads all the dependencies instead of skipping the ones you've already installed. greedy in the best way.
  • --from-repo=REPO_ID,... β€” packages (or their provides) that you explicitly typed on the command line will only be looked up in the repositories you list here. these repos get automatically enabled. repository enabling and disabling still applies though β€” that rule doesn't go away. and the dependencies of these packages? those get resolved from any enabled repository, so don't @ me.
  • --from-vendor=VENDOR,... β€” a list of vendors, separated by commas or spaces. globs are supported, like --from-vendor='Fedora\ project, vendorA, vendorB*, vendorC'. packages (or their provides) explicitly specified on the command line will only be looked up from the vendors you name. the vendor change check gets bypassed for these packages πŸ‘€. but for packages that satisfy dependencies, the vendor is ignored β€” or the vendor change policies still apply if allow_vendor_change=0.
  • --destdir=<path> β€” sets the directory the packages get downloaded to. the default location is the current working directory, in case you were wondering.
  • --skip-unavailable β€” lets you skip packages that aren't available in any repositories. everything that is available still gets downloaded. no one gets left behind, except the ones that literally don't exist.
  • --srpm β€” downloads the source rpm. this enables the source repositories of all enabled binary repositories. two-for-one energy.
  • --debuginfo β€” downloads the debuginfo rpm. enables the debuginfo repositories of all enabled binary repositories.
  • --debugsource β€” downloads the debugsource rpm. enables the debugsource repositories of all enabled binary repositories.
  • --url β€” instead of actually downloading, it prints the list of URLs where the rpms can be downloaded. window shopping fr.
  • --urlprotocol β€” use this together with --url. it filters the URLs down to the protocols you name: http, https, ftp, or file. can be used multiple times, so go off.
  • --allmirrors β€” also a --url bestie. it prints out space-separated URLs from all available mirrors for each package. every single one. the whole squad.

✨ EXAMPLES ✨

  • dnf5 download kernel-headers-0:5.17.0-300.fc36.i686 downloads the kernel-headers package using the full NEVRA format. look at all those fields, slay.
  • dnf5 download rpm rpm-devel downloads all packages having the name of rpm or rpm-devel.
  • dnf5 download maven-compiler-plugin --resolve --alldeps downloads the maven-compiler-plugin package with all its dependencies. the whole friend group.
  • dnf5 download --destdir /tmp/my_packages maven-compiler-plugin downloads the maven-compiler-plugin package to the /tmp/my_packages directory.
  • dnf5 download --url --urlprotocol http python lists the http URL to download the python package. no download, just the link πŸ’…
  • dnf5 download python --arch x86_64 downloads python with the x86_64 architecture.
  • dnf5 download dnf5 --srpm downloads the dnf5 source rpm.
  • dnf5 download kernel --debuginfo downloads the kernel debuginfo rpm.

✨ SEE ALSO ✨


✨ Author ✨

see AUTHORS.md in the dnf5 source distribution 🫢


Contributors to the dnf5 project. πŸ’œ


okay bestie that's the whole page, go download something cute πŸ’–βœ¨

this has been dnf5-download(8), part of the dnf5 manual set, dated Sep 24, 2026. mwah, take care of your rpms πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from