{"id":3239,"date":"2022-12-20T16:43:55","date_gmt":"2022-12-20T19:43:55","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/dnf-builddep-man8\/"},"modified":"2022-12-20T16:43:55","modified_gmt":"2022-12-20T19:43:55","slug":"dnf-builddep-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/dnf-builddep-man8\/","title":{"rendered":"DNF-BUILDDEP (man8)"},"content":{"rendered":"<h1 align=\"center\">DNF-BUILDDEP<\/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-builddep \u2212 DNF builddep Plugin<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Install whatever is needed to build the given .src.rpm, .nosrc.rpm or .spec file.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>WARNING:<\/b><\/p>\n<p style=\"margin-left:15%;\">Build dependencies in a package (i.e. src.rpm) might be different than you would expect because they were evaluated according macros set on the package build host.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dnf builddep <package>&#8230;<\/b><\/p>\n<h2>ARGUMENTS <a name=\"ARGUMENTS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><package><\/b><\/p>\n<p style=\"margin-left:22%;\">Either path to .src.rpm, .nosrc.rpm or .spec file or package available in a repository.<\/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>\u2212D <macro expr>, \u2212\u2212define <macro expr><\/b><\/p>\n<p style=\"margin-left:22%;\">Define the RPM macro named <i>macro<\/i> to the value <i>expr<\/i> when parsing spec files.<\/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=\"9%\">\n<p><b>\u2212\u2212spec<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"55%\">\n<p>Treat arguments as .spec files.<\/p>\n<\/td>\n<td width=\"23%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212\u2212srpm<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"55%\">\n<p>Treat arguments as source rpm files.<\/p>\n<\/td>\n<td width=\"23%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212skip\u2212unavailable<\/b><\/p>\n<p style=\"margin-left:22%;\">Skip build dependencies not available in repositories. All available build dependencies will be installed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that <i>builddep<\/i> command does not honor the <i>\u2212\u2212skip\u2212broken<\/i> option, so there is no way to skip uninstallable packages (e.g. with broken dependencies).<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dnf builddep foobar.spec<\/b><\/p>\n<p style=\"margin-left:22%;\">Install the needed build requirements, defined in the foobar.spec file.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf builddep \u2212\u2212spec foobar.spec.in<\/b><\/p>\n<p style=\"margin-left:22%;\">Install the needed build requirements, defined in the spec file when filename ends with something different than <b>.spec<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf builddep foobar\u22121.0\u22121.src.rpm<\/b><\/p>\n<p style=\"margin-left:22%;\">Install the needed build requirements, defined in the foobar\u22121.0\u22121.src.rpm file.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf builddep foobar\u22121.0\u22121<\/b><\/p>\n<p style=\"margin-left:22%;\">Look up foobar\u22121.0\u22121 in enabled repositories and install build requirements for its source rpm.<\/p>\n<p style=\"margin-left:11%;\"><b>dnf builddep \u2212D &#8216;scl python27&#8217; python\u2212foobar.spec<\/b><\/p>\n<p style=\"margin-left:22%;\">Install the needed build requirements for the python27 SCL version of python\u2212foobar.<\/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-builddep \u2212 DNF builddep Plugin Install whatever is needed to build the given .src.rpm, .nosrc.rpm or .spec file. WARNING: Build dependencies in a package (i.e. src.rpm) might be different than you would expect because they were evaluated according macros set on the package build host. <\/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,376,4],"class_list":["post-3239","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-dnf-builddep","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3239","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=3239"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3239\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}