银河麒麟系统软件源地址修改

yinheqilin.png

官网地址:http://archive.kylinos.cn/kylin/KYLIN-ALL/

在系统的/etc/apt/sources.list文件中,根据不同版本填入以下内容

4.0.2桌面版本:

deb http://archive.kylinos.cn/ kylin/KYLIN-ALL 4.0.2-desktop main restricted universe multiverse

4.0.2-sp1桌面版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp1-desktop main restricted universe multiverse

4.0.2-sp2桌面版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-desktop main restricted universe multiverse

4.0.2服务器版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2-server main restricted universe multiverse

4.0.2-sp1服务器版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp1-server main restricted universe multiverse

4.0.2-sp2服务器版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-server main restricted universe multiverse

4.0.2-sp2 FT2000+服务器版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-server-ft2000 main restricted universe multiverse

4.0.2-sp3桌面版本:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp3-desktop main restricted universe multiverse

以4.0.2-sp2 FT2000+服务器版本为例:

sudo su
cd /etc/apt/
mv sources.list sources.list.back    # 备份
vim sources.list          # 新建文件
# 在新的文件中输入一下地址:
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-server-ft2000 main restricted universe multiverse

:wq保存
依次执行:
apt-get clean   # 清除已安装的软件包的安装包
apt-get update  # 更新应用
apt-get upgrade # 更新应用列表

# ----修改DNS
vim /etc/resolv.conf
替换为
nameserver 114.114.114.114
nameserver 223.5.5.5
分别为网易和阿里dns

然后重启network

完成后再使用apt-get或apt安装软件吧,实测安装速度还可以。

Last modification:January 19th, 2020 at 08:36 pm
If you think my article is useful to you, please feel free to appreciate