当前位置:首页 > Linux > 正文内容

Debian系Linux软件源配置地址

5个月前 (12-02)Linux615

更换或添加之前首先确认系统内核版本

lsb_release -a

以下源地址中bullseye是系统版本

通常Debian系的Linux配置软件源都是修改/etc/apt/sources.list文件,或者是在/etc/apt/sources.list.d中加入一些第三方的软件源文件等等。但是两者文件中格式都是统一的如下:

deb 软件源地址 发行版代号 软件分支1 软件分支2 ...
deb-src 软件源地址 发行版代号 软件分支1 软件分支2 ...


Jessie = 8

Stretch =9

Buster = 10

bullseye = 11


一定要安装系统对应的版本选择,否则会出现不兼容的情况,以下地址使用其中一个即可,不用所有的都添加,


## 清华大学开源软件镜像站

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free


## 中科大镜像站

deb https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free


## 阿里巴巴开源镜像站

deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye main non-free contrib


## 上海交通大学源镜像服务

deb https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye main contrib non-free


扫描二维码推送至手机访问。

版权声明:本文由康斯网发布,如需转载请注明出处。

本文链接:https://www.ksnet.vip/Linux/33.html

“Debian系Linux软件源配置地址” 的相关文章

Speedtest测速脚本使用方法

服务器/VPS 速度测试脚本、系统信息、I/O 测试和速度测试curl -LsO bench.monster/speedtest.sh; bash speedtest.sh -Asia#全球速度测试curl -sL bench.m...

Bench测速脚本使用方法

Bench测速脚本使用方法

wget使用方法 wget -qO- bench.sh | bash CentOS、Fedora、AlmaLinux(基于Red Hat的系统)...

Linux XAMPP 设置开机启动

Linux XAMPP 设置开机启动

XAMPP在Linux系统上的默认情况下并并不包括开机自启动 Apache、MySQL、ProFTPD。如果想让它们在开机时自动启动,需要手动设置。1、创建个新的 systemd 服务文件,注意:这里是新创建systemd服务文件,默认是没有的。    1)创...