Additional Repositories for CentOS Linux
Posted on In TutorialCentOS 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.
Table of Contents
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
Another “safe” repository is IUS: https://ius.io/
for me Centos 7 didn’t find this sshfs package as you described but after some searching I was able to install fuse-sshfs using:
rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/Packages/f/fuse-sshfs-2.5-1.el7.x86_64.rpm
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.
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
It seems the libfuse is missing. You may try and see what’s the output of running
`# yum install fuse-libs`
BTW I used Centos 7
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
I believe you are following https://www.systutorials.com/241641/how-to-install-sshfs-on-centos-7/ .
But the “ * base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net” parts are missing.
Are the official yum repositories disabled in your system?
Yes, I was following https://www.systutorials.com/241641/how-to-install-sshfs-on-centos-7/
Very likely that the official yum repositories was disabled in my system. Because my system is hosted in an internal lab.
Do you know how I can enable the official yum repositories ?
You may check the configuration files of yum: https://www.systutorials.com/docs/linux/man/5-yum/
We tried this and it works:
1. install fuse-libs from https://centos.pkgs.org/7/centos-x86_64/fuse-libs-2.9.2-11.el7.x86_64.rpm.html
2. install fuse from https://centos.pkgs.org/7/centos-x86_64/fuse-2.9.2-11.el7.x86_64.rpm.html
3. install fuse-sshfs from https://centos.pkgs.org/7/repoforge-x86_64/fuse-sshfs-2.5-1.el7.rf.x86_64.rpm.html
———-
Problem solved, so happy !
Thank you, Eric. Really appreciate your attention.
doug…. it works. thanks