{"id":1049,"date":"2013-05-05T15:48:07","date_gmt":"2013-05-05T15:48:07","guid":{"rendered":"http:\/\/blog.filipesaraiva.info\/?p=1049"},"modified":"2013-05-05T15:48:07","modified_gmt":"2013-05-05T15:48:07","slug":"downloading-srpm-build-requires-using-urpmi","status":"publish","type":"post","link":"https:\/\/filipe.saraiva.tec.br\/blog\/?p=1049","title":{"rendered":"Downloading SRPM build requires using urpmi"},"content":{"rendered":"<p style=\"text-align: justify;\">Several Linux distributions have specific commands to download build requires of a package. For example, Debian and its derivatives have <em>apt-get build-dep<\/em>; in OpenSUSE is <em>zypper si -d<\/em>; Fedora have <em>yum-builddep<\/em>; etc.<\/p>\n<p style=\"text-align: justify;\">There is in Mandriva and derivatives distros using\u00a0 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Urpmi\" target=\"_blank\">urpmi<\/a> a command to do this too!\u00a0 But it is mandatory to link the package <a href=\"http:\/\/en.wikipedia.org\/wiki\/RPM_Package_Manager#SRPM\" target=\"_blank\">SRPM<\/a> source.<\/p>\n<p style=\"text-align: justify;\">The command is:<\/p>\n<p style=\"text-align: center;\"><strong>urpmi &#8211;buildrequires &lt;package.src.rpm&gt;<\/strong><\/p>\n<p style=\"text-align: justify;\">Remember, there are two hyphens in buildrequires option. You must to substitute &lt;package.src.rpm&gt; for the src.rpm package address. For example, to download Choqok build requires you uses::<\/p>\n<p style=\"text-align: center;\">urpmi &#8211;buildrequires ftp:\/\/mageia.c3sl.ufpr.br\/mageia\/distrib\/cauldron\/SRPMS\/core\/release\/choqok-1.3-5.mga3.src.rpm<\/p>\n<p style=\"text-align: justify;\">To find the SRPM package you must visit a repository of your distro and copy the complete package name. For example, there is a\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Tier_1_network\" target=\"_blank\">Tier 1<\/a> repository to Mageia in <a href=\"http:\/\/www.c3sl.ufpr.br\/\" target=\"_blank\">C3SL<\/a>, the link is <a href=\"http:\/\/mageia.c3sl.ufpr.br\/mageia\/distrib\/cauldron\/SRPMS\/\" target=\"_blank\">http:\/\/mageia.c3sl.ufpr.br\/mageia\/distrib\/cauldron\/SRPMS\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Several Linux distributions have specific commands to download build requires of a package. For example, Debian and its derivatives have apt-get build-dep; in OpenSUSE is zypper si -d; Fedora have yum-builddep; etc. There is in Mandriva and derivatives distros using\u00a0 urpmi a command to do this too!\u00a0 But it is mandatory to link the package&hellip;&nbsp;<a href=\"https:\/\/filipe.saraiva.tec.br\/blog\/?p=1049\" class=\"\" rel=\"bookmark\">Continue a ler &raquo;<span class=\"screen-reader-text\">Downloading SRPM build requires using urpmi<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[25,11,34,33,51,41,52],"class_list":["post-1049","post","type-post","status-publish","format-standard","hentry","category-software-livre","tag-ciencia-da-computacao","tag-desenvolvimento","tag-distros","tag-mageia","tag-planet-mageia-english","tag-planeta-psl-pi","tag-planetkde-english"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1p2Jh-gV","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1049"}],"version-history":[{"count":0,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1049\/revisions"}],"wp:attachment":[{"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/filipe.saraiva.tec.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}