一、前言
系统还换源,为了联网更新包时更快,不同系统对应的源也不同,这里其实与硬件就没有关系了,主要是看文件系统是什么版本,目前主流的系统ubuntu18.04 ubuntu20.04 ubuntu22.04 银河麒麟V10 SPI等等,这几个也是我常用的,后续有其他在持续更新
目录
ubuntu源
银河麒麟源
二、环境
RK3588(linux5.10.66+debian/ubuntu/麒麟是桌面文件系统)
调试笔记本window10,安装常用工具winscp,xshell,finalshell,secureRTP等等
VMware17+Ubuntu20.04源码开发环境(这里就依赖于各个硬件平台的厂家提供资料了)
三、正文
1.执行命令,进入vim编辑,没有vim安装sudo apt-get install vim(在更改之前最好备份一下,但是方法对了,备份也没啥用,就算上个保险吧)
sudo vim /etc/apt/sources.list
或者
sudo gedit /etc/apt/sources.list
2.
输入:%d来删除文件中的所有内容。
按下Enter键执行删除命令
按i进入编辑模式,右键复制源
之后esc,在:wq保存
3.执行更新软件列表sudo apt-get update
4.执行更新软件sudo apt-get upgrade
我这有几个,大家也可以随便百度和AI查询,太多了,我列不全
ubuntu源
首先大家查看自己的Ubuntu版本
系统名 版本名
ubuntu22.04 jammy
ubuntu20.04 focal
ubuntu18.04 bionic
ubuntu16.04 xenial
ubuntu14.04 trusty
阿里源ubuntu16.04
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
阿里源ubuntu20.04
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
银河麒麟源
我是用的银河麒麟V10 SPI 2303 ,这是针对瑞芯微(Rockchip)平台的银河麒麟嵌入式操作系统 V10.1 的软件源
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-embedded-rockchip main restricted universe multiverse
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-embedded-update main restricted universe multiverse
deb http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-embedded main restricted universe multiverse
deb http://archive2.kylinos.cn/deb/kylin/production/PART-V10-SP1/custom/partner/V10-SP1 default all
网上其他的,桌面版源
1. http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
2. http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-2303-updates main universe multiverse restricted
3. http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1-2303-hwe-updates main universe multiverse restricted
4. http://archive2.kylinos.cn/deb/kylin/production/PART-V10-SP1/custom/partner/V10-SP1 default all