【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源更换成功!

相关推荐
Tipriest_3 天前
详细解释pip及其使用方法(对比apt)
大数据·elasticsearch·apt·pip
键来大师5 天前
Android16 RK3576 系统清理缓存
android·缓存·framework·rk3588·android15
习惯就好zz6 天前
在 RK3588 上彻底禁用 HDMI 音频输出
音视频·rk3588·安卓·hdmi·禁用音频输出
里纽斯7 天前
RK平台Watchdog硬件看门狗验证
android·linux·rk3588·watchdog·看门狗·rk平台·wtd
键来大师7 天前
Android15 安装APK时监听且替换安装
android·framework·rk3588·android15
源来猿往13 天前
大模型(qwen3-1.7b)转rkllm
ai·rk3588·rkllm
lxmyzzs13 天前
在 RK3588 开发板上部署 DeepSeek-R1-Distill-Qwen-1.5B 模型:RKLLM API 实战指南
人工智能·rk3588·deepseek
Industio_触觉智能13 天前
瑞芯微RK3568平台FFmpeg硬件编解码移植及性能测试实战攻略
ffmpeg·rk3588·rk3568·瑞芯微·rk3562·rk3576
zhongxon15 天前
ORIN+FPGA高速采集AI智能处理板
无人机·rk3588·fpga·orin·orin+fpga·cameralink·coaxpress
lxmyzzs21 天前
作为一名工程师,何不试试瑞芯微?
笔记·rk3588