Additional Repositories for CentOS Linux

Posted on In Tutorial

CentOS is a super solid Linux distro. However, its default repository’s packages are limited compared to Fedora. Even Fedora needs some additional repositories to have software packages for daily usage, such as MPlayer, ffmpeg. Fortunately, some community maintained repositories provides these software. In this post, we introduce theses additional common repositories and how to install them into CentOS.

For the installation method, we use CentOS 7 as an example.

EPEL

EPEL, or Extra Packages for Enterprise Linux, is community effort from the Fedora project to create a repository of high-quality packages for RHEL. It is compatible CentOS.

How to enable it:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

Link: http://fedoraproject.org/wiki/EPEL/FAQ

Nux Dextop

A desktop and multimedia oriented RPM repository for EL. It contains a lot of graphical programs such as Ardour, but also text based apps line Cone.

How to enable it:

First, enable the EPEL repository. Then run,

# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Link: https://li.nux.ro/repos.html

Google Chrome repository

Add the yum repository for installing Google Chrome from Google:

# echo "[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
" > /etc/yum.repos.d/google-chrome.repo

Install Google Chrome:

# yum install google-chrome-stable -y

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

12 comments

    1. You can do this:

      1. enable epel repository
      2. `yum install fuse-sshfs`

      When the epel repository has an updated packages for it, `yum update` will also update for you too.

  1. Hi Eric:
    I tried what you suggested:

    1. enable epel repository
    2. `yum install fuse-sshfs`

    But I got err msg:

    $ yum install fuse-sshfs
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: mirrors.sonic.net
    * nux-dextop: mirror.li.nux.ro
    Altinity_clickhouse/x86_64/signature | 833 B 00:00:00
    Altinity_clickhouse/x86_64/signature | 1.0 kB 00:00:00 !!!
    Altinity_clickhouse-source/signature | 836 B 00:00:00
    Altinity_clickhouse-source/signature | 1.0 kB 00:00:00 !!!
    Resolving Dependencies
    –> Running transaction check
    —> Package fuse-sshfs.x86_64 0:2.10-1.el7 will be installed
    –> Processing Dependency: fuse >= 2.2 for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Processing Dependency: libfuse.so.2(FUSE_2.2)(64bit) for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Processing Dependency: libfuse.so.2(FUSE_2.4)(64bit) for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Processing Dependency: libfuse.so.2(FUSE_2.5)(64bit) for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Processing Dependency: libfuse.so.2(FUSE_2.6)(64bit) for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Processing Dependency: libfuse.so.2(FUSE_2.7)(64bit) for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Processing Dependency: libfuse.so.2()(64bit) for package: fuse-sshfs-2.10-1.el7.x86_64
    –> Finished Dependency Resolution
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: fuse >= 2.2
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: libfuse.so.2(FUSE_2.7)(64bit)
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: libfuse.so.2(FUSE_2.2)(64bit)
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: libfuse.so.2(FUSE_2.4)(64bit)
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: libfuse.so.2(FUSE_2.6)(64bit)
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: libfuse.so.2(FUSE_2.5)(64bit)
    Error: Package: fuse-sshfs-2.10-1.el7.x86_64 (epel)
    Requires: libfuse.so.2()(64bit)
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

    ———-
    Any idea how to fix ?

    Thanks
    Doug

  2. Trying that I got this:

    $ yum install fuse-libs
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * epel: mirrors.sonic.net
    * nux-dextop: mirror.li.nux.ro
    Altinity_clickhouse/x86_64/signature | 833 B 00:00:00
    Altinity_clickhouse/x86_64/signature | 1.0 kB 00:00:00 !!!
    Altinity_clickhouse-source/signature | 836 B 00:00:00
    Altinity_clickhouse-source/signature | 1.0 kB 00:00:00 !!!
    No package fuse-libs available.
    Error: Nothing to do

Leave a Reply

Your email address will not be published. Required fields are marked *