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

相关推荐
程序员Linc2 天前
RK3588芯片NPU的使用:Windows11 Docker中运行MobileNet模型以及部署到开发板进行目标检测
目标检测·docker·容器·rk3588·rknn-toolkit2·mobilenet
Merokes8 天前
关于Gstreamer+MPP硬件加速推流问题:视频输入video0被占用
c++·音视频·rk3588
plmm烟酒僧10 天前
基于 RK3588 的 YOLO 多线程推理多级硬件加速引擎框架设计(代码框架和实现细节)
yolo·rk3588·多线程·rkmpp·硬件加速·视频解码·librga
大桶矿泉水11 天前
RK3588使用笔记:debian/ubuntu/麒麟系统下基础功能配置(不定期更新)
ubuntu·rk3588·银河麒麟
&向上2 个月前
RK3588配置成为路由器
网络·智能路由器·rk3588
Hi202402173 个月前
RK3588-NPU pytorch-image-models 模型编译测试
人工智能·pytorch·python·rk3588·onnx·推理
morris1313 个月前
【redis】ubuntu18安装redis7
数据库·redis·ubuntu·缓存·apt
ArmSoM3 个月前
ArmSoM RK3588/RK3576核心板,开发板网络设置
rk3588·树莓派·开源硬件·rockchip·rk3576
plmm烟酒僧3 个月前
香橙派5Plus启动报错bug: spinlock bad magic on cpu#6, systemd-udevd/443
linux·bug·rk3588·kernel·香橙派·orangepi5plus