kubuntu24.04 换国内ustc源

1, 备份自带的源(虽然没有必要),

复制代码
sudo cp /etc/apt/sources.list.d/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources.bak

2, 用kubuntu自带地kate编辑ubuntu.sources(保存的时候会需要权限,输入密码就可以了)

把原来地ubuntu的地址改为ustc的,最终未注释部分如下,

复制代码
Types: deb
URIs: https://mirrors.ustc.edu.cn/ubuntu/
Suites: noble noble-updates noble-backports
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

## Ubuntu security updates. Aside from URIs and Suites,
## this should mirror your choices in the previous section.
Types: deb
URIs: https://mirrors.ustc.edu.cn/ubuntu/
Suites: noble-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

然后,就可以

复制代码
sudo apt update
sudo apt upgrade

安装edge浏览器、chrome浏览器、vscode后,还会添加更新源,这个可以在如下图应用商店的设置里更改,

这个位置本来也是可以改源地,但是刚装完系统后,这个软件连不上网,导致 software sources按钮不显示。只能用上面说的手动改sources方法先把源改好。

相关推荐
Vallelonga10 小时前
使用 busybox 制作磁盘镜像文件
linux·经验分享
EndingCoder10 小时前
索引类型和 keyof 操作符
linux·运维·前端·javascript·ubuntu·typescript
石小千10 小时前
Linux清除缓存
linux·运维
weixin_5160230710 小时前
VESTA在Linux下的安装
linux·运维·服务器
Nautiluss11 小时前
一起调试XVF3800麦克风阵列(十四)
linux·人工智能·音频·语音识别·dsp开发
耶耶耶耶耶~11 小时前
arch linux 安装
linux·运维·服务器
iYun在学C12 小时前
驱动程序开发(字符设备驱动框架实验)
linux·c语言·嵌入式硬件
ashcn200112 小时前
linux 制作一个自解压文件
linux·运维·服务器
天码-行空12 小时前
Linux 系统 MySQL 8.0 详细安装教程
linux·运维·mysql
何妨呀~12 小时前
Keepalived+Haproxy高可用集群实验
linux·服务器·网络