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

相关推荐
&向上16 天前
RK3588配置成为路由器
网络·智能路由器·rk3588
Hi202402172 个月前
RK3588-NPU pytorch-image-models 模型编译测试
人工智能·pytorch·python·rk3588·onnx·推理
morris1312 个月前
【redis】ubuntu18安装redis7
数据库·redis·ubuntu·缓存·apt
ArmSoM2 个月前
ArmSoM RK3588/RK3576核心板,开发板网络设置
rk3588·树莓派·开源硬件·rockchip·rk3576
plmm烟酒僧2 个月前
香橙派5Plus启动报错bug: spinlock bad magic on cpu#6, systemd-udevd/443
linux·bug·rk3588·kernel·香橙派·orangepi5plus
qq762118223 个月前
arm rk3588 onnx转rknn
rk3588
qq762118224 个月前
Ubuntu20.04 Rk3588 交叉编译ffmpeg7.0
ffmpeg·rk3588
anhuihbo4 个月前
FPGA通过MIPI CSI-2发送实时图像到RK3588,并HDMI显示
fpga开发·rk3588·rk3588 sdk
迅为电子4 个月前
迅为RK3588开发板Android多屏显示之多屏同显和多屏异显
人工智能·rk3588·多屏显示