YUMDOWNLOADER(1)

โœจ NAME โœจ

Okay so bestie, welcome to yumdownloader! ๐ŸŒŸ This is literally just a redirect to the DNF download plugin. It's giving "download binary or source packages" energyโ€”no cap. ๐Ÿ’…


๐ŸŒธ SYNOPSIS ๐ŸŒธ

So here's the tea: you're gonna run this command, right? The synopsis is super simple, likeโ€”

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

That's it! Periodt. โœจ


๐ŸŽ€ ARGUMENTS ๐ŸŽ€

Bestie, let me tell you about <pkg-spec>โ€”it's the package specification for the package you wanna download. Lowkey, you can even specify local RPMs too. That's super useful when you're using the --source option, or if you just wanna download the same RPM again. ๐Ÿคทโ€โ™€๏ธ


๐Ÿ”ฅ OPTIONS ๐Ÿ”ฅ

All general DNF options are accepted, bestie! For the deets, see Options in dnf(8). But here are the specific ones for this commandโ€”let's go! ๐Ÿ’ซ

  • --help-cmd โ€” Show this help, bestie! ๐Ÿซถ
  • --arch <arch>[,<arch>...] โ€” Limit the query to packages of given architectures. Default is all compatible architectures with your system. To download packages with arch incompatible with your system, use --forcearch=<arch> option to change basearch. ๐ŸŒˆ
  • --source โ€” Download the source rpm. Enables source repositories of all enabled binary repositories. ๐Ÿ“ฆ
  • --debuginfo โ€” Download the debuginfo rpm. Enables debuginfo repositories of all enabled binary repositories. ๐Ÿ›
  • --downloaddir โ€” Download directory. Default is the current directory (the directory must exist). ๐Ÿ“
  • --url โ€” Instead of downloading, print list of urls where the rpms can be downloaded. ๐Ÿ”—
  • --urlprotocol โ€” Limit the protocol of the urls output by the --url option. Options are http, https, rsync, ftp. ๐ŸŒ
  • --resolve โ€” Resolves dependencies of specified packages and downloads missing dependencies in the system. ๐Ÿงฉ
  • --alldeps โ€” When used with --resolve, download all dependencies (do not skip already installed ones). ๐ŸŽฏ

๐Ÿ’– EXAMPLES ๐Ÿ’–

Okay, let's run through some examples so you can see how it's done. These are literally the moments you'll be living forโ€”slay! ๐Ÿ’…

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). ๐Ÿ“‚

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. ๐Ÿ‘‘


2014, Red Hat, Licensed under GPLv2+. ๐Ÿ“œ


Remember, bestie: this is from dnf-plugins-core, version 4.10.1, dated Mar 28, 2025. That's the tea! โ˜•๏ธ Stay slaying! ๐Ÿ’…โœจ
๐Ÿ“ฆ where this page comes from