Ubuntu常用软件源

这两天多次要在Ubuntu上用apt-get安装软件,虽然Tab功能很强大,但是还是经常出现Tab不出来的情况。后来,经过多次尝试,又上网查了查资料,才发现一个坑爹的事实:如果安装Ubuntu时你选择了中国时区,那么系统安好后默认的软件源就是中国的软件源,次奥,中国的软件源神马都木有啊!

所以,在这里把常用的软件源做个小结。先说命令格式:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu hardy main multiverse" 
其中引号中的为软件源地址。

在这里再提几个软件源地址: 
deb http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe

deb http://archive.canonical.com/ubuntu dapper-commercial main

 

deb http://archive.ubuntu.org.cn/ubuntu-cn dapper main universe multiverse restricted

 

deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

 

deb http://archive.ubuntu.com/ubuntu/ edgy-proposed universe main multiverse restricted

  

deb http://archive.ubuntu.com/ubuntu/ edgy-backports universe main multiverse restricted

  

deb http://static.audacious-media-player.org/ubuntu dapper main

 

有了这些可用的软件就多多了~

By Air_Fighter

2012.07.20

转载于:https://www.cnblogs.com/kulin/archive/2012/07/27/Ubuntu_Soft_Sourcelist.html

标题基于Python的自主学习系统后端设计与实现AI更换标题第1章引言介绍自主学习系统的研究背景、意义、现状以及本文的研究方法和创新点。1.1研究背景与意义阐述自主学习系统在教育技术领域的重要性和应用价值。1.2国内外研究现状分析国内外在自主学习系统后端技术方面的研究进展。1.3研究方法与创新点概述本文采用Python技术栈的设计方法和系统创新点。第2章相关理论与技术总结自主学习系统后端开发的相关理论和技术基础。2.1自主学习系统理论阐述自主学习系统的定义、特征和理论基础。2.2Python后端技术栈介绍DjangoFlask等Python后端框架及其适用场景。2.3数据库技术讨论关系型和非关系型数据库在系统中的应用方案。第3章系统设计与实现详细介绍自主学习系统后端的设计方案和实现过程。3.1系统架构设计提出基于微服务的系统架构设计方案。3.2核心模块设计详细说明用户管理、学习资管理、进度跟踪等核心模块设计。3.3关键技术实现阐述个性化推荐算法、学习行为分析等关键技术的实现。第4章系统测试与评估对系统进行功能测试和性能评估。4.1测试环境与方法介绍测试环境配置和采用的测试方法。4.2功能测试结果展示各功能模块的测试结果和问题修复情况。4.3性能评估分析分析系统在高并发等场景下的性能表现。第5章结论与展望总结研究成果并提出未来改进方向。5.1研究结论概括系统设计的主要成果和技术创新。5.2未来展望指出系统局限性并提出后续优化方向。
### 配置 Ubuntu i386 架构的软件地址 对于 Ubuntu i386 架构系统的软件配置,可以通过编辑 `/etc/apt/sources.list` 文件来实现。以下是具体的说明: #### 修改 `sources.list` 文件 首先备份原有的 `sources.list` 文件以防万一: ```bash sudo cp /etc/apt/sources.list sources.list.old ``` 接着使用文本编辑器(如 Vim 或 Nano)打开该文件: ```bash sudo nano /etc/apt/sources.list ``` 在文件中写入适合您使用的镜像地址。以下是一些常用的国内镜像示例,适用于不同版本的 Ubuntu。 --- #### 清华大学开软件镜像站 (推荐) 如果您的系统是 Ubuntu 12.04 LTS,则可以将以下内容粘贴到 `sources.list` 中: ```plaintext deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-updates main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-updates main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-backports main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-security main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-security main restricted universe multiverse ``` 注意:上述 URL 和分发代号 (`precise`) 是针对 Ubuntu 12.04 的设置[^1]。 如果是其他版本(例如 Ubuntu 14.04),则需替换相应的分发代号为 `trusty`[^3]。 --- #### 阿里云开镜像站 如果您更倾向于使用阿里云的镜像服务,可参考如下配置: ```plaintext deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse ``` 此配置同样适用于特定版本的官方支持情况下的更新需求[^4]。 --- #### 更新包索引 完成修改后,运行以下命令刷新本地缓存并同步最新的软件包列表: ```bash sudo apt update ``` 如果有任何错误提示,请仔细核对 `sources.list` 文件中的每一行是否正确无误[^2]。 --- #### 安全警告 需要注意的是,Ubuntu 12.04 已经停止维护多年,不再提供任何形式的安全补丁和技术支持。为了保障系统的安全性与稳定性,强烈建议升级至最新长期支持版(LTS 版本),比如 Ubuntu 22.04。 --- ###
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值