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--sourceoption, 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--urloption. the options arehttp,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 latestdnfpackage to the current directory. classic. iconic. πdnf download --url dnfβ just prints the remote location url where thednfrpm can be downloaded from. no downloading, just looking πdnf download --url --urlprotocols=https --urlprotocols=rsync dnfβ same as above but limits urls tohttpsorrsyncurls. (yes, the flag's spelled--urlprotocolswith an s in this example β copy it exactly, don't come for me π)dnf download dnf --destdir /tmp/dnlβ downloads the latestdnfpackage to the/tmp/dnldirectory. π¨ the directory must exist, fr fr.dnf download dnf --sourceβ downloads the latestdnfsource package to the current directory πdnf download rpm --debuginfoβ downloads the latestrpm-debuginfopackage to the current directory πdnf download btanks --resolveβ downloads the latestbtankspackage 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 π
β COPYRIGHT β
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
- centos-stream 10: dnf-plugins-core 4.7.0-12.el10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms