{"id":3734,"date":"2022-12-20T17:19:54","date_gmt":"2022-12-20T20:19:54","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/dnf-download-man8\/"},"modified":"2022-12-20T17:19:54","modified_gmt":"2022-12-20T20:19:54","slug":"dnf-download-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/dnf-download-man8\/","title":{"rendered":"DNF-DOWNLOAD (man8)"},"content":{"rendered":"<h1 align=\"center\">DNF-DOWNLOAD<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#ARGUMENTS\">ARGUMENTS<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">dnf-download \u2212 DNF download Plugin<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Download binary or source packages.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dnf download [options] <pkg\u2212spec>&#8230;<\/b><\/p>\n<h2>ARGUMENTS <a name=\"ARGUMENTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><pkg\u2212spec><\/b><\/p>\n<p style=\"margin-left:22%;\">Package specification for the package to download. Local RPMs can be specified as well. This is useful with the <b>\u2212\u2212source<\/b> option or if you want to download the same RPM again.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">All general DNF options are accepted, see <i>Options<\/i> in <b>dnf(8)<\/b> for details. <b><br \/> \u2212\u2212help\u2212cmd<\/b><\/p>\n<p style=\"margin-left:22%;\">Show this help.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212arch <arch>[,<arch>&#8230;]<\/b><\/p>\n<p style=\"margin-left:22%;\">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 <b>\u2212\u2212forcearch=<arch><\/b> option to change basearch.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212source<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the source rpm. Enables source repositories of all enabled binary repositories.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212debuginfo<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the debuginfo rpm. Enables debuginfo repositories of all enabled binary repositories.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212downloaddir<\/b><\/p>\n<p style=\"margin-left:22%;\">Download directory, default is the current directory (the directory must exist).<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>\u2212\u2212url<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"78%\">\n<p>Instead of downloading, print list of urls where the rpms can be downloaded.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212urlprotocol<\/b><\/p>\n<p style=\"margin-left:22%;\">Limit the protocol of the urls output by the \u2212\u2212url option. Options are http, https, rsync, ftp.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212resolve<\/b><\/p>\n<p style=\"margin-left:22%;\">Resolves dependencies of specified packages and downloads missing dependencies in the system.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dnf download dnf<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the latest dnf package to the current directory.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf download \u2212\u2212url dnf<\/b><\/p>\n<p style=\"margin-left:22%;\">Just print the remote location url where the dnf rpm can be downloaded from.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf download \u2212\u2212url \u2212\u2212urlprotocols=https \u2212\u2212urlprotocols=rsync dnf<\/b><\/p>\n<p style=\"margin-left:22%;\">Same as above, but limit urls to https or rsync urls.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf download dnf \u2212\u2212destdir \/tmp\/dnl<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the latest dnf package to the \/tmp\/dnl directory (the directory must exist).<\/p>\n<p style=\"margin-left:11%;\"><b>dnf download dnf \u2212\u2212source<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the latest dnf source package to the current directory.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf download rpm \u2212\u2212debuginfo<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the latest rpm\u2212debuginfo package to the current directory.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf download btanks \u2212\u2212resolve<\/b><\/p>\n<p style=\"margin-left:22%;\">Download the latest btanks package and the uninstalled dependencies to the current directory.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">See AUTHORS in your Core DNF Plugins distribution<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">2014, Red Hat, Licensed under GPLv2+<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  dnf-download \u2212 DNF download Plugin Download binary or source packages. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,842,4],"class_list":["post-3734","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-dnf-download","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3734"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3734\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}