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.
CentOS是一个超级可靠的Linux发行版。 但是,与Fedora相比,其默认存储库的软件包有限。 甚至Fedora也需要一些其他存储库来拥有日常使用的软件包 ,例如MPlayer,ffmpeg。 幸运的是,一些社区维护的存储库提供了这些软件 。 在这篇文章中,我们介绍了这些额外的通用存储库以及如何将它们安装到CentOS中。
For the installation method, we use CentOS 7 as an example.
对于安装方法,我们以CentOS 7为例。
埃Perl (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.
EPEL或Enterprise Linux的额外软件包,是Fedora 项目的社区努力,旨在为RHEL创建高质量软件包的存储库。 它是兼容的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
链接: http : //fedoraproject.org/wiki/EPEL/FAQ
Nux Dextop (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.
EL的面向桌面和多媒体的RPM存储库。 它包含许多图形程序(例如Ardour),还包含基于文本的应用程序(例如Cone)。
How to enable it:
如何启用:
First, enable the EPEL repository. Then run,
首先,启用EPEL存储库。 然后跑
# 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
链接: https : //li.nux.ro/repos.html
Google Chrome存放区 (Google Chrome repository)
Add the yum repository for installing Google Chrome from Google:
添加用于从Google安装Google Chrome的yum存储库:
# 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
翻译自: https://www.systutorials.com/additional-repositories-centos-linux/