【apt源】RK3588 平台ubuntu20.04更换apt源

RK3588芯片使用的是aarch64架构,因此在Ubuntu 20.04上更换apt源时需要使用针对aarch64架构的源地址。以下是针对RK3588芯片在Ubuntu 20.04上更换apt源到清华源的正确步骤:

步骤一:打开终端

在Ubuntu 20.04中,按下Ctrl + Alt + T打开终端。

步骤二:备份原始的source.list文件

在终端中输入以下命令以备份原始的source.list文件:

bash 复制代码
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
步骤三:编辑source.list文件

使用文本编辑器(如nano或vim)打开source.list文件:

bash 复制代码
sudo vim /etc/apt/sources.list

将文件中的内容替换为以下清华源的地址,确保使用适用于aarch64架构的源:

bash 复制代码
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse
步骤四:更新apt缓存

在终端中输入以下命令以更新apt缓存:

bash 复制代码
sudo apt update

如果安装过程顺利,没有出现错误,那么恭喜你,apt源更换成功!

相关推荐
野指针YZZ6 天前
Gstreamer插入第三方plugins流程:rgaconvert
linux·音视频·rk3588
peixiuhui19 天前
G8701 RK3576 RealTime Linux 测试报告
linux·运维·边缘计算·rk3588·rk3576·rt-linux·实时内核
野指针YZZ21 天前
一键配置RK3588网络与SSH远程连接
网络·ssh·rk3588
椰汁菠萝1 个月前
apt命令安装docker
docker·容器·apt·安装
深圳英康仕1 个月前
面向高速ETC系统的嵌入式工控设备技术选型探讨
嵌入式硬件·rk3588·工控机·高速etc
用什么都重名1 个月前
【RK芯片学习笔记】RK3588开发板上大语言模型转换教程
rk3588·模型转换·rkllm-toolkit
J ..1 个月前
MeloTTS 生成 RKNN 模型
rk3588·tts·melo
网宿安全演武实验室1 个月前
Linux Rootkit 手法解析(上):用户态的“隐身术”与检测思路
linux·网络·安全·apt·攻防对抗
农夫山泉2号1 个月前
【rk】——rk3588推理获得logits
人工智能·rk3588·ppl
~光~~1 个月前
【嵌入式linux学习】04_Pinctrl 和 GPIO子系统
linux·rk3588·嵌入式linux