ubuntu的apt源

修改文件:/etc/apt/sources.list

内容如下:

# 电子科大(教育网用户推荐)

deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse

deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse

deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

# 中国科技大学(教育网用户推荐)

deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse

deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse

deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse

deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse

deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse

deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse

# 北京理工(教育网用户推荐)

deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe

deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe

deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

# 163(非教育网推荐)

deb http://mirrors.163.com/ubuntu/ precise main restricted

deb-src http://mirrors.163.com/ubuntu/ precise main restricted

deb http://mirrors.163.com/ubuntu/ precise-updates main restricted

deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted

deb http://mirrors.163.com/ubuntu/ precise universe

deb-src http://mirrors.163.com/ubuntu/ precise universe

deb http://mirrors.163.com/ubuntu/ precise-updates universe

deb-src http://mirrors.163.com/ubuntu/ precise-updates universe

deb http://mirrors.163.com/ubuntu/ precise multiverse

deb-src http://mirrors.163.com/ubuntu/ precise multiverse

deb http://mirrors.163.com/ubuntu/ precise-updates multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse

deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ precise-security main restricted

deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted

deb http://mirrors.163.com/ubuntu/ precise-security universe

deb-src http://mirrors.163.com/ubuntu/ precise-security universe

deb http://mirrors.163.com/ubuntu/ precise-security multiverse

deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse

deb http://extras.ubuntu.com/ubuntu precise main

deb-src http://extras.ubuntu.com/ubuntu precise main

# sohu(非教育网推荐)

deb http://mirrors.sohu.com/ubuntu/ precise main restricted

deb-src http://mirrors.sohu.com/ubuntu/ precise main restricted

deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted

deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted

deb http://mirrors.sohu.com/ubuntu/ precise universe

deb-src http://mirrors.sohu.com/ubuntu/ precise universe

deb http://mirrors.sohu.com/ubuntu/ precise-updates universe

deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe

deb http://mirrors.sohu.com/ubuntu/ precise multiverse

deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse

deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse

deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse

deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ precise-security main restricted

deb-src http://mirrors.sohu.com/ubuntu/ precise-security main restricted

deb http://mirrors.sohu.com/ubuntu/ precise-security universe

deb-src http://mirrors.sohu.com/ubuntu/ precise-security universe

deb http://mirrors.sohu.com/ubuntu/ precise-security multiverse

deb-src http://mirrors.sohu.com/ubuntu/ precise-security multiverse

deb http://extras.ubuntu.com/ubuntu precise main

deb-src http://extras.ubuntu.com/ubuntu precise main

时间: 2024-12-28 21:15:25

ubuntu的apt源的相关文章

更改 Ubuntu 的 apt 源

1.在更改apt源之前要先备份官方自带的apt源 cd /etc/apt sudo cp sources.list sources.list.bak 2. 更改 sources.list 文件 sudo gedit sources.list  或者 sudo vim sources.list 3.一些 国内的 apt 源 香港中文大学: deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty main restricted universe mul

[转帖]ubuntu 修改 apt源的方法

https://www.cnblogs.com/dadonggg/p/11129973.html ubuntu 和 centos 是不一样的 ubunut 里面 用deb开头 放置到 /etc/apt/sources.list 里面 centos 是在 /etc/yum.repos.d/xxxx.repo 里面 主要 [name] name baseurl enable gpgcheck 等字段 以Ubuntu18.04为例: 1. 备份原有软件源文件 cp /etc/apt/sources.l

Ubuntu 16.1 更改apt源

1 修改apt源配置文件,把/etc/apt/sources.list替换为以下内容: sudo gedit /etc/apt/sources.list deb http://mirrors.163.com/ubuntu/ precise main restricted deb-src http://mirrors.163.com/ubuntu/ precie main restricted deb http://mirrors.163.com/ubuntu/ precise-updates m

ubuntu更换apt-get源&apt命令使用手册

ubuntu更换apt-get源 # cp /etc/apt/sources.list /etc/apt/sources.list.bak # vim /etc/apt/sources.list deb http://mirrors.163.com/ubuntu/ precise main restricted deb-src http://mirrors.163.com/ubuntu/ precise main restricted deb http://mirrors.163.com/ubu

ubuntu apt源

deb http://mirrors.oschina.net/ubuntu/ raring main restricted universe multiversedeb http://mirrors.oschina.net/ubuntu/ raring-backports main restricted universe multiversedeb http://mirrors.oschina.net/ubuntu/ raring-proposed main restricted univers

Ubuntu 18.04 国内的 apt 源

h2 { text-align: left; background-color: #00FF00; color: #075db3 } h3 { text-align: left; background-color: #DEBD94; color: #075db3 } h3#nbs { background-color: #DEBD94; color: blue } 一.Ubuntu 18.04 国内的 apt 源 1. 阿里源 deb http://mirrors.aliyun.com/ubun

ubuntu如何修改IP地址、和apt源

新安装的ubuntu没有vim,使用vi修改自己的IP地址 [email protected]:~# cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto ens3 iface ens3 inet static address 192.168.200.7 netmask 255.255.255.0 gateway 192.

Ubuntu 18.04 更换apt源

1.备份apt源 cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.修改apt源 sudo gedit /etc/apt/sources.list 3.删除所有,添加阿里源 #添加阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-se

嵌入式linux开发环境搭建(五)——Ubuntu第三方软件仓库源

嵌入式linux开发环境搭建(五)--Ubuntu第三方软件仓库源 一般来说ubuntu官方的软件仓库由于服务器在国外,下载更新速度较慢,需要将软件仓库更换为国内镜像点. 1.修改源配置文件 先备份原来的配置文件 mv /etc/apt/sources.list /etc/apt/sources.list.bak vim /etc/apt/sources.list 将国内的Ubuntu镜像点添加到配置文件 Ubuntu 163镜像点: deb http://mirrors.163.com/ubu