My words on free/open source software

Monday, July 23, 2007

Install Amarok on CentOS5/RHEL5

Now I prefer to build amarok by using SRPM from latest Fedora on CentOS/RHEL. Though I think the following method should still work, it's not the best solution. The first problem is that Fedora 6 is no longer supported and you get no security patches, the second is that some packages from Fedora 6 Extra repo conflicts with similar packages from RPMForge, which is a must for nearly all CentOS/RHEL systems.



  1. Install livna and rpmforge repo.

  2. Add fedora-extras.repo:

    [fedora-extras]
    name=Fedora Extras 6 - i386
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-6&arch=i386
    gpgcheck=0
    enabled=1
    includepkgs=libnjb* libtunepimp* libifp* libmtp* libgpod* libofa* amarok* xine-lib wavpack

    You see, we should include necessary packages only.

  3. Edit CentOS-Base.repo, add following lines:

    # exclude libgpod 0.4.0 to install libgpod 0.4.2 from FC6 repo for Amarok
    exclude=libgpod

  4. Add fedora-updates.repo:

    [fedora-updates]
    name=Fedora Core 6 - $basearch - Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
    mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=$basearch
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    protect=0
    includepkgs=libnjb* libtunepimp* libifp* libmtp* libgpod* libofa* amarok*

  5. Edit rpmforge.repo, add:

    exclude=xine-lib

About Me

My photo
Santa Cruz, California, United States