当前位置:   article > 正文

Linux arm64架构修改软件源 (统信UOS,麒麟系统修改阿里源、华为源) 国产系统UOS修改apt源_统信软件源

统信软件源

步骤:备份原来自带的软件源—>修改软件源配置文件—>处理报错(公钥问题)—>清理缓存—>更新缓存—>安装软件

1.备份系统之前的源

cp /etc/apt/sources.list /etc/apt/sources.list.bak

2.修改源文件/etc/apt/sources.list

vim /etc/apt/sources.list

将原来的内容删除,将下面的源内容粘贴上。

这里推荐比较好的两个国内源

(1)阿里源(arm64,速度快,推荐)

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial main

deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial main

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main

deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial universe

deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial universe

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe

deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main

deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe

deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe

(2)华为源(arm64,速度快,二者选其一)

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse

deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-security main restricted universe multiverse

deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-security main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

## Not recommended

# deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse

# deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse

3.处理报错

命令:apt-get update

可能出现报错

以下命令解决:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5 3B4FE6ACC0B21F32

4.清除软件仓库缓存

apt-get clean

5.更新软件仓库

apt-get update

完成,apt-get install 应用名 就可以安装应用了

Linux arm64架构修改软件源 (统信UOS,麒麟系统修改阿里源、华为源) 国产系统UOS修改apt源_中原壹点红的博客-CSDN博客_uos apt 源

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/408518
推荐阅读
相关标签
  

闽ICP备14008679号