国产银河麒麟v10操作系统 添加epel源

国产银河麒麟V10操作系统添加epel源记录

一、注意事项

1、操作系内核版本与架构即就是指令集
uname -a / uname -r
可查看系统内核与指令集,本次我以内核版本 4.19.90,系统架构为aarch64为例进行记录
2、移除原有的epel源
注意记得备份

二、具体操作

1、进入配置目录并创建文件

cd /etc/yum.repos.d
vim epel-kylin.repo

2、将以下内容复制到编辑的文件中

[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
# It is much more secure to use the #metalink, but if you wish to use a local mirror
# place its address here.
baseurl=https://mirrors.huaweicloud.com/openeuler/openEuler-20.03-LTS-SP3/EPOL/main/$basearch
#metalink=https://mirrors.fedoraproject.org/#metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
enabled=1
gpgcheck=0
countme=1
gpgkey=file:///
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值