DNF4-DOWNLOAD(8)
β¨ DNF4-DOWNLOAD β the manual page, but make it cute β¨
okay so bestie, you're holding the manual for dnf4-download, which lives in the dnf-plugins-core family π. It's the DNF download Plugin, and honestly? It does exactly what it says on the tin: it downloads binary or source packages. no cap π
πΈ NAME πΈ
dnf4-download β the DNF download Plugin.
Download binary or source packages. that's it, that's the whole job, and it slays at it π«Ά
π¦ SYNOPSIS π¦
dnf download [options] <pkg-spec>...
π ARGUMENTS π
<pkg-spec>β the package specification for the package you wanna download. Local RPMs can be specified as well!! Which is genuinely so useful when you're rolling with the--sourceoption, or when you just wanna download the exact same RPM again π
β¨ OPTIONS β¨
every general DNF option is accepted too, so peek at Options in dnf(8) for the details, iykyk π
--help-cmdβ show this help. classic π--arch <arch>[,<arch>...]β limits the query to packages of the given architectures. default is all compatible architectures with your system. and listen, if you wanna download packages whose arch is incompatible with your system? you use the--forcearch=<arch>option to change basearch. periodt π--sourceβ downloads the source rpm. it enables the source repositories of all enabled binary repositories π--debuginfoβ downloads the debuginfo rpm. it enables the debuginfo repositories of all enabled binary repositories π§--downloaddirβ the download directory. default is the current directory β and heads up bestie, the directory must exist π«--urlβ instead of actually downloading, it prints the list of urls where the rpms can be downloaded. window shopping, iconic behavior π--urlprotocolβ limits the protocol of the urls output by the βurl option. the options arehttp,https,rsync,ftp. pick your fighter π―--resolveβ resolves dependencies of the specified packages and downloads the missing dependencies in the system. the way it goes and fetches the whole friend group π--alldepsβ when used with--resolve, download all dependencies (do not skip the already-installed ones). go big or go home fr fr π₯
π EXAMPLES π
okay this is the part where it gets real, let's go π
dnf download dnf
Download the latest dnf package to the current directory.
dnf download --url dnf
Just print the remote location url where the dnf rpm can be downloaded from.
dnf download --url --urlprotocols=https --urlprotocols=rsync dnf
Same as above, but limit urls to https or rsync urls.
dnf download dnf --destdir /tmp/dnl
Download the latest dnf package to the /tmp/dnl directory (the directory must exist, don't forget π).
dnf download dnf --source
Download the latest dnf source package to the current directory.
dnf download rpm --debuginfo
Download the latest rpm-debuginfo package to the current directory.
dnf download btanks --resolve
Download the latest btanks package and the uninstalled dependencies to the current directory.
π Author π
See AUTHORS in your Core DNF Plugins distribution π«Ά
π Copyright π
2014, Red Hat, Licensed under GPLv2+
π and that's the whole thing, bestie!! this page is version4.10.1, datedSep 27, 2025, brought to you by the dnf-plugins-core girlies. now go download something iconic πΈβ¨π
π¦ where this page comes from
- ubuntu resolute: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- ubuntu stonking: dnf-plugins-core 4.10.1-5 Β· 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