完整版的 yum 存储库添加列表
暂时先复制保存
通用
yum install epel-release
Remiyum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
RepoForge(旧RPMForge)RPMForge (RepoForge) 終了のお知らせWebtatic
yum install https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install https://mirror.webtatic.com/yum/el6/latest.rpm
IUScurl -s https://setup.ius.io/
|sh
Atomiccurl -s http://www.atomicorp.com/installers/atomic
|sh
CentOS-SCLyum install centos-release-scl
(CentOS 7)yum install centos-release-SCL
(CentOS 6)ELRepoyum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum install http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
Luxyum install http://repo.iotti.biz/CentOS/7/noarch/lux-release-7-1.noarch.rpm
yum install http://repo.iotti.biz/CentOS/6/noarch/lux-release-6-3.noarch.rpm
(未検証)PUIASyum install http://puias.math.ias.edu/data/puias/6/x86_64/os/Packages/springdale-core-6-2.sdl6.10.noarch.rpm
(未検証)yum install http://puias.math.ias.edu/data/puias/6/x86_64/os/Packages/springdale-addons-6-2.sdl6.10.noarch.rpm
(未検証)Psychotic Ninjayum install http://packages.psychotic.ninja/7/base/x86_64/RPMS/psychotic-release-1.0.0-1.el7.psychotic.noarch.rpm
(未検証)CERT Forensics Toolsyum install https://forensics.cert.org/cert-forensics-tools-release-el7.rpm
(未検証)End Pointyum install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
(未検証)Ghettoforgeyum install http://mirror.symnds.com/distributions/gf/el/7/gf/x86_64/gf-release-7-10.gf.el7.noarch.rpm
(未検証)数据库
yum install https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
yum install https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
MariaDBhttps://downloads.mariadb.org/mariadb/repositories/PostgreSQLyum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6-x86_64/pgdg-centos96-9.6-3.noarch.rpm
MongoDBhttps://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat/#configure-the-package-management-system-yum其他
yum install http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum install http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
httpd24curl -s https://repos.fedorapeople.org/repos/jkaluza/httpd24/{epel-httpd24.repo} -o /etc/yum.repos.d/#1
WandiscoSVNcurl -O http://opensource.wandisco.com/scripts/svninstall_centos6_wandisco.sh; sh svninstall_centos6_wandisco.sh
Elasticsearchhttps://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.htmlMackerelcurl -fsSL https://mackerel.io/assets/files/scripts/setup-yum.sh
|sh
VirtualBoxcurl -s http://download.virtualbox.org/virtualbox/rpm/el/{virtualbox.repo} -o /etc/yum.repos.d/#1
Dockercurl -sSL https://get.docker.com/
|sh
每个存储库的详细信息。
EPEL(企业版Linux的额外软件包)
EPEL/ja – Fedora项目
EPEL是用于Red Hat Enterprise Linux的高质量附加包,是由Fedora项目的志愿者创建的,与RHEL分支如CentOS和Scientific Linux兼容的包。
安装
yum install epel-release
rpm -ivh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# リダイレクトされない場合は以下
rpm -ivh http://ftp.iij.ad.jp/pub/linux/fedora/epel/5/i386/epel-release-5-4.noarch.rpm
在CentOS 6及更高版本中,通常会在rpm命令中包含安装方法,但是由于epel-release包已经包含在CentOS附加软件仓库中,所以可以直接使用yum命令进行安装。
提供套餐清单
-
- https://dl.fedoraproject.org/pub/epel/7/x86_64/
-
- https://dl.fedoraproject.org/pub/epel/6/x86_64/
- https://dl.fedoraproject.org/pub/epel/5/x86_64/
安装时的初始设置
epel-debuginfo×
epel-source×epel-testing.repoepel-testing×
epel-testing-debuginfo×
epel-testing-source×
Remi的RPM软件仓库
Remi的RPM仓库
可用于想使用较新版本的PHP等情况。
Remi Collet先生是一位来自法国的开发者,自2006年以来一直活跃在Fedora项目的打包者中。自2012年起,他加入了Red Hat公司并个人负责维护。截至2012年10月起,所有RHEL的PHP回溯版本都是由他负责。
安装
yum install http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
启用
yum install yum-utils
yum-config-manager --enable remi-php70
提供套餐列表
-
- http://rpms.famillecollet.com/enterprise/7/
-
- http://rpms.famillecollet.com/enterprise/6/
- http://rpms.famillecollet.com/enterprise/5/
安装时的初始设置
remi-php55×
remi-php56×
remi-test×
remi-debuginfo×
remi-php55-debuginfo×
remi-php56-debuginfo×
remi-test-debuginfo×remi-php70.reporemi-php70×
remi-php70-debuginfo×
remi-php70-test×
remi-php70-test-debuginfo×remi-php71.reporemi-php71×
remi-php71-debuginfo×
remi-php71-test×
remi-php71-test-debuginfo×remi-safe.reporemi-safe○
RepoForge(以前的RPMForge)
RepoForge项目
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el`rpm -q --whatprovides /etc/redhat-release --qf '%{version}\n'`.rf.x86_64.rpm
安装时的初始设置
rpmforge-extras×
rpmforge-testing×
Webtatic Yum 仓库
Webtatic Yum Repository – Webtatic Yum仓库
yum install https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install https://mirror.webtatic.com/yum/el6/latest.rpm
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm
软件收集(SCL)存储库
https://wiki.centos.org/AdditionalResources/Repositories/SCL 的中文翻译版本,请使用以下链接:
https://access.redhat.com/documentation/zh-cn/red_hat_software_collections/
安装
yum install centos-release-scl
yum install centos-release-SCL
yum install scl-utils
利用的示例
yum install php55
source /opt/rh/php55/enable
scl enable php55 'php -v'
scl enable php55 bash
/opt/rh/php55/root/usr/bin/php -v
service mysql55-mysqld start
提供打包清单
-
- List of Software Collections available in SCLo SIG – CentOS Wiki
-
- http://mirror.centos.org/centos/7/sclo/x86_64/
-
- http://mirror.centos.org/centos/6/sclo/x86_64/
- http://mirror.centos.org/centos/6/SCL/x86_64/
MySQL Yum库
如果想要安装最新的MySQL,可以使用MySQL Yum存储库提供的公式下载。
- CentOS 6.x, 7.x
yum install https://dev.mysql.com/get/mysql57-community-release-el`rpm -q --whatprovides /etc/redhat-release --qf '%{version}\n'`-9.noarch.rpm
- CentOS 5.x
yum install https://dev.mysql.com/get/mysql-community-release-el`rpm -q --whatprovides /etc/redhat-release --qf '%{version}\n'`-7.noarch.rpm
安装时的初始设置
mysql-tools-community○
mysql55-community×
mysql56-community×
mysql57-community○
mysql80-community×
mysql-tools-preview×mysql-community-source.repomysql-connectors-community-source×
mysql-tools-community-source×
mysql55-community-source×
mysql56-community-source×
mysql57-community-source×
mysql80-community-source×
mysql-tools-preview-source×
httpd24 网址
如果你想在 CentOS 6 上从 Yum 仓库安装 Apache 2.4,安装路径将会是 /opt/rh/httpd24,并且服务名称是 httpd24-httpd,请注意。
$ curl -s https://repos.fedorapeople.org/repos/jkaluza/httpd24/{epel-httpd24.repo} -o /etc/yum.repos.d/#1
$ yum install httpd24-httpd httpd24-httpd-devel
$ chkconfig httpd24-httpd on
$ ls /opt/rh/httpd24/root/etc/httpd
conf conf.d conf.modules.d logs modules run
万迪科SVN(Subversion 1.8)
在默认和EPEL、remi仓库中,只能安装Subversion的1.6系列版本。如果使用WANdisco仓库,可以安装1.8系列版本。
$ cat << _EOF_ > /etc/yum.repos.d/wandisco-svn.repo
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/\$releasever/svn-1.8/RPMS/\$basearch/
enabled=1
gpgcheck=0
_EOF_
$ yum install subversion
IUS
IUS社区项目
curl -s https://setup.ius.io/ | sh
yum install https://centos`rpm -q --whatprovides /etc/redhat-release --qf '%{version}\n'`.iuscommunity.org/ius-release.rpm
提供套餐列表
ELRepo 是一个社区驱动的软件库,为企业级 Linux 发行版提供额外的硬件驱动和软件包。
只需要一个选择,以下是对原文的归纳:
该项目提供了kABI兼容驱动程序,即使在最新的硬件上尚未支持的发布版本中也可以使用。其中包括文件系统、图形、网络、音频、网络摄像头和视频驱动程序。此外,这些驱动程序的版本比发布版本更为先进。
ELRepo : 首页
yum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum install http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
提供包裹列表
原子回购
阿托米科防护文档库
curl -s http://www.atomicorp.com/installers/atomic | sh
无版权的RPM包
熙熙攘攘的熔炉
LinuxTECH.NET 仓库
nux-dextop: Nux桌面
yum install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
可以安装ffmpeg作为一个软件包。
RPMfusion资料库
Samba 4.2软件库。
SerNet企业SAMBA门户
仓库的启用和禁用设置
在CentOS 6及以上版本中,可以使用yum-config-manager命令来仅通过命令进行更改。安装yum-utils后即可使用。
$ yum install yum-utils
$ yum-config-manager --enable remi remi-php56
链接
-
- 【個人メモ】CentOS環境に登録するyumリポジトリ – Qiita
-
- CentOS7.0 yum外部リポジトリまとめ(2015/03/04版) – Qiita
-
- Remiリポジトリを使って最新版のphp等をyumでインストールする – Qiita
-
- php5.5とかphp5.6をインストールする – Qiita
-
- Centos5,6,7にEPEL/REMIのyumリポジトリの追加をする。 – Qiita
-
- yumまとめ – Qiita
- CentOSにEPELリポジトリを追加する – Qiita