{"id":949,"date":"2010-08-14T19:28:47","date_gmt":"2010-08-14T17:28:47","guid":{"rendered":"http:\/\/raftaman.net\/?p=949"},"modified":"2021-05-15T11:46:40","modified_gmt":"2021-05-15T09:46:40","slug":"installing-yum-build-dependencies-with-yum-builddep","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=949","title":{"rendered":"Installing yum build dependencies with yum-builddep"},"content":{"rendered":"<p>After fiddling around with <code>rpmbuild<\/code> for quite a while, I stumbled upon <strong><code>yum-builddep<\/code><\/strong>. It&#8217;s basically a tool to install all packages required to rebuild an RPM package from the SRPM. So if you want to install all <strong>&#8220;BuildRequires&#8221;<\/strong> mentioned in the spec file of a package, invoke<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyum-builddep &lt;package name&gt;\r\n<\/pre>\n<p>The source RPM for the specified package must be available in the yum repository or it can be a local source RPM file.<\/p>\n<p><code>yum-builddep<\/code> itself it part of the <strong><code>yum-utils<\/code><\/strong> package. You can install it with yum<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nyum install yum-utils\r\n<\/pre>\n<p>See also <a href=\"http:\/\/linux.die.net\/man\/1\/yum-builddep\">yum-builddep manpage<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After fiddling around with rpmbuild for quite a while, I stumbled upon yum-builddep. It&#8217;s basically a tool to install all packages required to rebuild an RPM package from the SRPM. So if you want to install all &#8220;BuildRequires&#8221; mentioned in the spec file of a package, invoke yum-builddep &lt;package name&gt; The source RPM for the specified package must be available&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=949\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7,35],"class_list":["post-949","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fedora","tag-yum"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=949"}],"version-history":[{"count":12,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/949\/revisions"}],"predecessor-version":[{"id":2678,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/949\/revisions\/2678"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}