ubuntu 软件源 main,restricted,universe,multiverse 的区别

本文介绍了Ubuntu系统的四种不同类型的软件仓库,包括main、restricted、universe和multiverse的区别及支持情况,帮助用户理解各仓库的特点。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

main:完全的自由软件。

restricted:不完全的自由软件。

universe:ubuntu官方不提供支持与补丁,全靠社区支持。

muitiverse:非自由软件,完全不提供支持和补丁。

 

转载于:https://www.cnblogs.com/neters/p/8964384.html

base) foil@foil:~$ sudo tee /etc/apt/sources.list <<-'EOF' > # 清华源 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-security main restricted universe multiverse # 源码仓库(可选) deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse > EOF # 清华源 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-security main restricted universe multiverse # 源码仓库(可选) deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse (base) foil@foil:~$ # 清除旧索引 sudo apt clean # 重建软件源缓存 sudo apt update # 验证下载速度 time sudo apt install -y htop # 观察实际下载速度 N: 忽略‘third-party.sources.save.1’(于目录‘/etc/apt/sources.list.d/’),鉴于它的文件扩展名无效 E: 软件源列表 /etc/apt/sources.list.d/third-party.sources 中第 1 行的小节格式有误 (类型) E: 软件源列表 /etc/apt/sources.list.d/ubuntu.sources 中第 1 行的小节格式有误 (类型) E: 无法读取源列表。 N: 忽略‘third-party.sources.save.1’(于目录‘/etc/apt/sources.list.d/’),鉴于它的文件扩展名无效 E: 软件源列表 /etc/apt/sources.list.d/third-party.sources 中第 1 行的小节格式有误 (类型) E: 软件源列表 /etc/apt/sources.list.d/ubuntu.sources 中第 1 行的小节格式有误 (类型) E: 无法读取源列表。 real 0m0.021s user 0m0.005s sys 0m0.005s
03-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值