(1)阿里云安装epel源
****** '基础源' ******
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
****** 'epel源' ******
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
'等价': yum install epel -y
'官方': rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
(2)内核和驱动包
****** '签名'
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
****** 'Centos7'
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
'安装显卡检查程序'
yum install nvidia-detect -y
'检测显卡型号,并选择对应的驱动'
nvidia-detect -v
'安装指定版本的显卡'
yum install nvidia-x11-drv-440.64 kmod-nvidia.440.64 -y
备注:kmod-nvidia驱动要安装和内核一致的版本,升级新内核就要'安装和新内核版本一致的驱动'
****** '适合自己的驱动' ******
nvidia-x11-drv.x86_64 440.64-1.el7_7.elrepo @elrepo
nvidia-x11-drv-libs.x86_64 440.64-1.el7_7.elrepo @elrepo
kmod-nvidia.x86_64 440.64-1.el7_7.elrepo @elrepo
根据指定源安装
yum --disablerepo=\* --enablerepo=elrepo install kmod-nvidia
说明: 利用'elrepo软件源'安装软件
(3)rpmforge
Centos的官方源去掉了一些'与版权有关'的软件,想要安装必须'手动下载或者配置源'
rpmforge又名repoforge,是CentOS'官方推荐'的第三方yum源.
提供超过'5000种rpm格式'的软件包,其中包括'vlc、mplayer、xmms-mp3'等流行的多媒体工具-->包含一些'解码格式'
yum install https://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
'其它rpmforge源'-->http://repoforge.org/use
举例: yum --enablerepo=rpmforge info mplayer
(4)CentOS的REMI源 官方文档
(5)rpmfusion
各种音频软件如'MPlayer在标准源中是没有的',一般先安装RPMFusion源,之后就可以放便地yum install各种需要的软件啦。
备注: CentOS官方说RPMFusion软件库里面的'软件稳定性'不如rpmforge
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
(6)Atomic
wget https://updates.atomicorp.com/installers/atomic
'参考下面的'
https://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/atomic-release-1.0-21.art.noarch.rpm
(7)php源
rpm -Uvh http://mirror.webtatic.com/yum/el7/latest.rpm
(8)ius
centos 通常自带的yum源提供的各种软件包都是'比较老的版本',如果想用yum安装最新的软件,推荐第三源ius
已知: 'git和python3'
yum install \
https://repo.ius.io/ius-release-el7.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
'等价方式'
yum install https://centos7.iuscommunity.org/ius-release.rpm
(8)Nux Dextop
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
'冲突问题解决'-->enbaled=0
yum --enablerepo=nux-dextop install <package-name>
补充
二 后续扩展软件专用源