ubuntu的可用sourceslist配置

#网易的源(163源,无论是不是教育网,速度都很快)
deb http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted
#搜狐的源(sohu 源今天还没有更新,不过应该快了)
deb http://mirrors.sohu.com/ubuntu/ quantal main restricted
deb-src http://mirrors.sohu.com/ubuntu/ quantal main restricted
deb http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates main restricted
deb http://mirrors.sohu.com/ubuntu/ quantal universe
deb-src http://mirrors.sohu.com/ubuntu/ quantal universe
deb http://mirrors.sohu.com/ubuntu/ quantal-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates universe
deb http://mirrors.sohu.com/ubuntu/ quantal multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-updates multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ quantal-security main restricted
deb-src http://mirrors.sohu.com/ubuntu/ quantal-security main restricted
deb http://mirrors.sohu.com/ubuntu/ quantal-security universe
deb-src http://mirrors.sohu.com/ubuntu/ quantal-security universe
deb http://mirrors.sohu.com/ubuntu/ quantal-security multiverse
deb-src http://mirrors.sohu.com/ubuntu/ quantal-security multiverse
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main

#阿里云
deb http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse
  
#台湾源(台湾的ubuntu 更新源还是很给力的)
deb http://tw.archive.ubuntu.com/ubuntu/ quantal main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ quantal-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ quantal-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ quantal-updates universe main multiverse restricted

#ubuntu.cn99.com源(推荐):
deb http://ubuntu.cn99.com/ubuntu/ quantal main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ quantal main restricted universe multiverse

#电子科技大学
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
#中国科技大学
deb http://debian.ustc.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ quantal-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ quantal-updates main restricted universe multiverse
#北京交通大学
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe


#上海交通大学(上海交大源,教育网的速度不用说了)
deb http://ftp.sjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ quantal-updates main multiverse restricted universe


deb http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse 
deb http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse 
deb http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse 
deb http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse 
deb http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse 
deb-src http://centos.bitcomm.cn/ubuntu natty main restricted universe multiverse 
deb-src http://centos.bitcomm.cn/ubuntu natty-security main restricted universe multiverse 
deb-src http://centos.bitcomm.cn/ubuntu natty-updates main restricted universe multiverse 
deb-src http://centos.bitcomm.cn/ubuntu natty-backports main restricted universe multiverse 
deb-src http://centos.bitcomm.cn/ubuntu natty-proposed main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ oneiric-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

#下面是source原来的,不动他

#deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/

#deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise universe
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main




Ubuntu系统的软件下载源配置是指设置软件包管理器(如APT)从哪些服务器下载软件包。配置适当的下载源可以加快软件包的下载速度,提高系统的软件安装效率。以下是Ubuntu下载源配置的基本步骤: 1. 打开终端。 2. 备份原有的源列表文件,以防万一配置出错可以恢复原状: ``` sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup ``` 3. 使用文本编辑器打开源列表文件进行编辑,例如使用nano编辑器: ``` sudo nano /etc/apt/sources.list ``` 4. 将文件中的原有内容注释掉或者删除,然后添加新的源。通常,新的源可以来自Ubuntu官方或其他第三方镜像源,例如中国大陆常用的清华大学、中科大等镜像源。 ``` deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse ``` 在上述例子中,`http://mirrors.tuna.tsinghua.edu.cn/ubuntu/` 是清华大学的Ubuntu镜像源地址,`bionic` 是Ubuntu的版本代号,后面的 `main restricted universe multiverse` 表示不同的软件包分类。 5. 保存并关闭文件。 6. 更新软件包信息: ``` sudo apt update ``` 这一步是必要的,因为它会从新的源获取可用软件包的最新列表。 7. 有时候,为了从新配置的源下载软件包,你可能需要运行: ``` sudo apt upgrade ``` 这将会更新系统中所有过时的软件包。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值