本教程适用于:Ubuntu22.04
操作流程
打开终端,运行以下命令:
cpp
sudo sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
运行后即完成更改。
如果找不到22.04的镜像,可以点击下面的链接下载22.04版本的镜像使用:
https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/20.04/
图示:
