ubuntu apt镜像软件仓库配置
参考:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/
镜像配置地址已经在这个目录下了:
vim /etc/apt/sources.list.d/ubuntu.sources

Types: deb
URIs: https://mirrors.tuna.tsinghua.edu.cn/ubuntu
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpgTypes: deb
URIs: https://mirrors.aliyun.com/ubuntu
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpgTypes: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
更新apt源
sudo apt update
sudo apt upgrade
apt需要掌握的命令
apt-get update //更新软件源
apt-get install vim //安装
apt remove vim //删除apt-cache show vim //vim为软件名,查看软件的相关信息
apt-get source package #得到包的源代码
