RHEL8/CentOS8使用Epel、Remi、RPMFusion第三方源

 

一、安装

(1)Epel

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

将 repo 配置中的地址替换为阿里云镜像站地址:

 sed -i 's|^#baseurl=https://download.fedoraproject.org/pub|baseurl=https://mirrors.aliyun.com|' /etc/yum.repos.d/epel*
  sed -i 's|^metalink|#metalink|' /etc/yum.repos.d/epel*
 

(2)Remi

sudo yum install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
(3)RPMFusion

sudo yum install http://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm

sudo yum install http://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm
 

二、更新缓存

yum makecache 

你可能感兴趣的:(技术类)