{"id":32,"date":"2008-11-17T02:22:20","date_gmt":"2008-11-17T02:22:20","guid":{"rendered":"http:\/\/blog.binus-edu.com\/?p=32"},"modified":"2009-04-02T11:03:26","modified_gmt":"2009-04-02T04:03:26","slug":"how-to-add-rpmforge-and-dag-repository-on-centos","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=32","title":{"rendered":"How to add RPMForge and DAG repository on CentOS"},"content":{"rendered":"<p><strong>What is RPMforge and DAG ?<\/strong> RPMforge is one of the participating repositories in the rpmrepo project  DAG is\u00a0 a mirror of the                  <a href=\"http:\/\/dag.wieers.com\/home-made\/apt\/FAQ.php\">RPM repositories<\/a> provided The                 <a href=\"http:\/\/www.linux.iastate.edu\/rhel\/\">Red Hat Enterprise Linux group<\/a> and\u00a0             maintained by                  <a href=\"http:\/\/dag.wieers.com\/\">Dag Wieers<\/a> as part of the                  <a href=\"http:\/\/www.rpmforge.net\/\">RPMforge<\/a> project. The RPMforge collaboration repackages many RPMs that are not included as part of the stock Linux distributions, including versions of many packages still in testing.  <strong>Here is the steps to setup :<\/strong> Installing RPMFOrge<\/p>\n<ol>\n<li>Adding RPMforge Repository :<\/li>\n<\/ol>\n<p><code># yum -y install yum-priorities <\/code><\/p>\n<ol>\n<li>Download and install rpmforge :<\/li>\n<\/ol>\n<p><code> # wget http:\/\/apt.sw.be\/redhat\/el5\/en\/i386\/RPMS.dag\/rpmforge-release-0.3.6-1.el5.rf.i386.rpm <\/code><\/p>\n<p><code> # rpm --import <a title=\"http:\/\/dag.wieers.com\/rpm\/packages\/RPM-GPG-KEY.dag.txt\" href=\"http:\/\/dag.wieers.com\/rpm\/packages\/RPM-GPG-KEY.dag.txt\">http:\/\/dag.wieers.com\/rpm\/packages\/RPM-GPG-KEY.dag.txt<\/a><\/code><\/p>\n<p><code> # rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm<\/code><\/p>\n<p><code> # rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm<\/code><\/p>\n<p>Installing DAG<\/p>\n<ol>\n<li>First we need to Install Dag&#8217;s GPG Key, you need to download it first from http:\/\/dag.wieers.com\/packages\/RPM-GPG-KEY.dag.txt or http:\/\/dag.linux.iastate.edu\/dag\/RPM-GPG-KEY.dag.txt<\/li>\n<\/ol>\n<p><code> # wget http:\/\/dag.linux.iastate.edu\/dag\/RPM-GPG-KEY.dag.txt<\/code><\/p>\n<p>2.\u00a0 Once you have downloaded the key, import it into your keyring                with the command<\/p>\n<p><code> # rpm --import RPM-GPG-KEY.dag.txt 3. Configuring yum To Use This Repository, you can do it by either create the file \/etc\/yum.repos.d\u00a0 \/dag.repo or add the DAG to \/etc\/yum.repos.d\/CentOS-Base.repo<\/code><\/p>\n<p><code> # vi \/etc\/yum.repos.d\/CentOS-Base.repo<\/code><\/p>\n<p>add this line on the bottom :<\/p>\n<p><code> [dag] name=Dag RPM Repository for Red Hat Enterprise Linux<\/code><\/p>\n<p><code> baseurl=http:\/\/dag.linux.iastate.edu\/dag\/redhat\/el5\/en\/$basearch\/dag<\/code><\/p>\n<p><code> gpgcheck=1<\/code><\/p>\n<p><code> enabled=1<\/code><\/p>\n<p>Now you can run yum to see the repository works or not. You should see this line on your yum<\/p>\n<p><code>#yum update<\/code><\/p>\n<p><code>Setting up Update Process Setting up repositories<\/code><\/p>\n<p><code>dag\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================| 1.1 kB\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>c4-testing\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================|\u00a0 951 B\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>update\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================|\u00a0 951 B\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>rpmforge\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================| 1.1 kB\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>base\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================| 1.1 kB\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>kbs-CentOS-Extras\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================|\u00a0 951 B\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>centosplus\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================|\u00a0 951 B\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>addons\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================|\u00a0 951 B\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n<p><code>extras\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 100% |=========================| 1.1 kB\u00a0\u00a0\u00a0 00:00<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is RPMforge and DAG ? RPMforge is one of the participating repositories in the rpmrepo project DAG is\u00a0 a mirror of the RPM repositories provided The Red Hat Enterprise Linux group and\u00a0 maintained by Dag Wieers as part of the RPMforge project. The RPMforge collaboration repackages many RPMs that are not included as part [&hellip;]<\/p>\n","protected":false},"author":386,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[487],"tags":[914],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-centos","tag-add-rpmforge-and-dag-repository-on-centos"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/386"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":1,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}