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 ifallow_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, orfile. can be used multiple times, so go off.--allmirrorsβ also a--urlbestie. 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.i686downloads thekernel-headerspackage using the full NEVRA format. look at all those fields, slay.dnf5 download rpm rpm-develdownloads all packages having the name ofrpmorrpm-devel.dnf5 download maven-compiler-plugin --resolve --alldepsdownloads themaven-compiler-pluginpackage with all its dependencies. the whole friend group.dnf5 download --destdir /tmp/my_packages maven-compiler-plugindownloads themaven-compiler-pluginpackage to the/tmp/my_packagesdirectory.dnf5 download --url --urlprotocol http pythonlists thehttpURL to download thepythonpackage. no download, just the link πdnf5 download python --arch x86_64downloadspythonwith thex86_64architecture.dnf5 download dnf5 --srpmdownloads thednf5source rpm.dnf5 download kernel --debuginfodownloads thekerneldebuginfo rpm.
β¨ SEE ALSO β¨
dnf5-specs(7)- Patterns specification
<#specs-misc-ref-label>
β¨ Author β¨
see AUTHORS.md in the dnf5 source distribution π«Ά
β¨ Copyright β¨
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
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms