dnf download
linux
Download RPM packages from the DNF repositories. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
More info →Examples (3)
Download the latest version of a package to the current directory
dnf download packageDownload a package to a specific directory (the directory must exist)
dnf download package --destdir path/to/directoryPrint the URL where the RPM package can be downloaded from
dnf download --url packagemade by @shridhargupta | data from tldr-pages