Skrevet av Emne: CentOS 5: Installing rpmforge  (Lest 4781 ganger)

ATC

  • Gjest
CentOS 5: Installing rpmforge
« på: 12. Mai 2009, 09:15 am »
  • [applaud]0
  • [smite]0
  • How do I install rpmforge repositories in CentOS 5?



    ATC

    • Gjest
    [Solved] CentOS 5: Installing rpmforge
    « Svar #1 på: 12. Mai 2009, 09:15 am »
  • [applaud]0
  • [smite]0
  • Install DAG GPG key

    wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt     # download DAG GPG key
    rpm --import RPM-GPG-KEY.dag.txt                                # import the key
    rm RPM-GPG-KEY.dag.txt                                          # clean up after ourselves


    Install yum-priorities

    yum install yum-priorities


    Download and install package (i386 - 32bit)

    wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm           # install the rpmforge yum repo
    rm rpmforge-release-0.3.6-1.el5.rf.i386.rpm                 # clean up after ourselves


    Download and install package (x86_64 - 64bit)

    wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
    rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm         # install the rpmforge yum repo
    rm rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm               # clean up after ourselves


    Set priorities

    vim /etc/yum.repos.d/CentOS-Base.repo
    [base] or [updates] or [addons] or [extras]
    priority=1
    [centosplus]
    priority=2
    vim /etc/yum.repos.d/rpmforge.repo
    [rpmforge]
    priority=10