Debian ubuntu源

配置文件路径

/etc/apt/sources.list

阿里

deb http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs) main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs) main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-backports main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ $(lsb_release -cs)-proposed main restricted universe multiverse

清华

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs) main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs) main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-updates main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-backports main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-security main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-security main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-proposed main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ $(lsb_release -cs)-proposed main restricted universe multiverse

更新软件包列表

sudo apt update

升级系统软件包

sudo apt upgrade

相关推荐
阳区欠几秒前
【Linux】进程通信
linux·运维·服务器·共享内存·进程通信·system v·管道文件
may_一一16 分钟前
终端SSH连接工具SecureCRT安装和连接Linux
运维·服务器·ssh
姓刘的哦1 小时前
Ubuntu环境安装
linux·运维·ubuntu
小小寂寞的城1 小时前
Ubuntu里安装Jenkins
ubuntu·ci/cd·docker·jenkins
厦门德仔1 小时前
【C#】C#字符串拼接的6种方式及其性能分析对比
服务器·windows·c#
❀͜͡傀儡师2 小时前
多台服务器上docker部署 Redis 集群
运维·服务器·redis
AdrichPro2 小时前
10、Linux C 网络编程(完整版)
linux·服务器·c语言·网络
IT 小旋风3 小时前
Linux centos 7 常用服务器搭建
linux·服务器·centos
sszdlbw3 小时前
文件包含漏洞的小点总结
服务器·安全·web安全·php
全马必破三3 小时前
http知识点
服务器·网络协议·http