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方法先把源改好。

相关推荐
ljs64827395124 分钟前
Linux运维实操:vi编辑器永久配置静态IP(CentOS系列)
linux·运维·编辑器
dddwjzx24 分钟前
嵌入式Linux C应用编程入门——高级I/O
linux·嵌入式
Waay2 小时前
Linux 三个核心环境变量配置文件、作用域、生效方式完整梳理
linux·运维·学习·云原生·容器
星空语2 小时前
音频001_Android+Linux车载/手机音频全链路分层架构图
android·linux·音视频
携程DBA2 小时前
数据库软限制相关研究
linux·mysql·性能
huy1n92 小时前
Ubuntu 22.04部署Claude Code并接入DeepSeek-V4模型完整教程
linux·ubuntu·deepseek·claude code
ICECREAM3 小时前
I/O 多路复用完全指南 —— select、poll、epoll
linux
进阶的猪3 小时前
Linux 内核移植过程学习
linux·学习
问简5 小时前
【共享盘】ubuntu、windows
linux·windows·ubuntu
小生不才yz6 小时前
Shell脚本精读 · S13-01 | POSIX sh 与 Bash:语法对照表
linux