{"id":3838,"date":"2022-12-20T17:20:13","date_gmt":"2022-12-20T20:20:13","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/dnf-repomanage-man8\/"},"modified":"2022-12-20T17:20:13","modified_gmt":"2022-12-20T20:20:13","slug":"dnf-repomanage-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/dnf-repomanage-man8\/","title":{"rendered":"DNF-REPOMANAGE (man8)"},"content":{"rendered":"<h1 align=\"center\">DNF-REPOMANAGE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/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-repomanage \u2212 DNF repomanage Plugin<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Manage a repository or a simple directory of rpm packages.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dnf repomanage [<optional\u2212options>] [<options>] <path><\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><i>repomanage<\/i><\/b> prints newest or oldest packages in a repository specified by <path> for easy piping to xargs or similar programs. In case <path> doesn&#8217;t contain a valid repository it is searched for rpm packages which are then used instead.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In order to work correctly with modular packages <path> has to contain repodata with modular metadata. If modular content is present <i>repomanage<\/i> prints packages from newest or oldest versions of each stream in addition to newest or oldest non\u2212modular packages.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Options<\/b> <br \/> All general DNF options are accepted, see <i>Options<\/i> in <b>dnf(8)<\/b> for details.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options set what packages are displayed. These options are mutually exclusive, i.e. only one can be specified. If no option is specified, the newest packages are shown.<\/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\u2212old<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"32%\">\n<p>Show older packages.<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"7%\">\n<p><b>\u2212\u2212new<\/b><\/p>\n<\/td>\n<td width=\"4%\"><\/td>\n<td width=\"32%\">\n<p>Show newest packages.<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options control how packages are displayed in the output: <b><br \/> \u2212s, \u2212\u2212space<\/b><\/p>\n<p style=\"margin-left:22%;\">Print resulting set separated by space instead of newline.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212k <keep\u2212number>, \u2212\u2212keep <keep\u2212number><\/b><\/p>\n<p style=\"margin-left:22%;\">Limit the resulting set to newest <b><keep\u2212number><\/b> packages.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Display newest packages in current repository (directory):<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf repomanage \u2212\u2212new .<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Display 2 newest versions of each package in &#8220;home&#8221; directory:<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf repomanage \u2212\u2212new \u2212\u2212keep 2 ~\/<\/pre>\n<p style=\"margin-left:11%; margin-top: 1em\">Display oldest packages separated by space in current repository (directory):<\/p>\n<pre style=\"margin-left:15%; margin-top: 1em\">dnf repomanage \u2212\u2212old \u2212\u2212space .<\/pre>\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-repomanage \u2212 DNF repomanage Plugin Manage a repository or a simple directory of rpm 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,934,4],"class_list":["post-3838","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-dnf-repomanage","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3838","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=3838"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3838\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}