更改ubuntu软件源 ubuntu更改镜像源

在终端输入并运行

sudo cp /etc/apt/sources.list/etc/apt/sources.list.backup (备份当前的源列表,以便日後需要时恢复)

sudo gedit/etc/apt/sources.list (修改sources.list文件中源的列表)

sources.list文件中尾部添加

#cn99.com源更新服务器(江苏省常州市电信,推荐电信用户使用,我自己是南方电信1M带宽的用户,更新速度平均有100K):

deb http://Ubuntu.cn99.com/ubuntu/ gutsy main restricteduniverse multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-security mainrestricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-updates mainrestricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-proposed mainrestricted universe multiverse

deb http://Ubuntu.cn99.com/ubuntu/ gutsy-backports mainrestricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy main restricteduniverse multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-security mainrestricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-updates mainrestricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-proposed mainrestricted universe multiverse

deb-src http://Ubuntu.cn99.com/ubuntu/ gutsy-backports mainrestricted universe multiverse

#Mirror.lupaworld.com源更新服务器(浙江省杭州市双线服务器,网通同电信都可以用,亚洲地区官方更新服务器):

debhttp://mirror.lupaworld.com/Ubuntu gutsy main restricted universemultiverse

debhttp://mirror.lupaworld.com/Ubuntu gutsy-security main restricted universemultiverse

debhttp://mirror.lupaworld.com/Ubuntu gutsy-updates main restricted universemultiverse

debhttp://mirror.lupaworld.com/Ubuntu gutsy-backports main restricteduniverse multiverse

deb-srchttp://mirror.lupaworld.com/Ubuntu gutsy main restricted universemultiverse

deb-srchttp://mirror.lupaworld.com/Ubuntu gutsy-security main restricted universemultiverse

deb-srchttp://mirror.lupaworld.com/Ubuntu gutsy-updates main restricted universemultiverse

deb-srchttp://mirror.lupaworld.com/Ubuntu gutsy-backports main restricteduniverse multiverse

Ubuntu 官方源推荐北方网通用户添加

deb http://archive.Ubuntu.com/ubuntu/ gutsy main restricteduniverse multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-security mainrestricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-updates mainrestricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-proposed mainrestricted universe multiverse

deb http://archive.Ubuntu.com/ubuntu/ gutsy-backports mainrestricted universe multiverse

deb-srchttp://archive.Ubuntu.com/ubuntu/ gutsy main restricteduniverse multiverse

deb-srchttp://archive.Ubuntu.com/ubuntu/ gutsy-security mainrestricted universe multiverse

deb-srchttp://archive.Ubuntu.com/ubuntu/ gutsy-updates mainrestricted universe multiverse

deb-srchttp://archive.Ubuntu.com/ubuntu/ gutsy-proposed mainrestricted universe multiverse

deb-srchttp://archive.Ubuntu.com/ubuntu/ gutsy-backports mainrestricted universe multiverse


台湾的官方源速度也相当不错,有时甚至快于内地的:

deb http://tw.archive.Ubuntu.com/ubuntu gutsy main restricteduniverse multiverse

deb http://tw.archive.Ubuntu.com/ubuntu gutsy-security mainrestricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu gutsy-updates mainrestricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu gutsy-backports mainrestricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu gutsy-proposed mainrestricted universe multiverse

deb-srchttp://tw.archive.Ubuntu.com/ubuntu gutsy main restricteduniverse multiverse

deb-srchttp://tw.archive.Ubuntu.com/ubuntu gutsy-security mainrestricted universe multiverse

deb-srchttp://tw.archive.Ubuntu.com/ubuntu gutsy-updates mainrestricted universe multiverse

deb-srchttp://tw.archive.Ubuntu.com/ubuntu gutsy-backports mainrestricted universe multiverse

deb-srchttp://tw.archive.Ubuntu.com/ubuntu gutsy-proposed mainrestricted universe multiverse

防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加下面这个官方源。

deb http://archive.Ubuntu.org.cn/ubuntu-cn/ feisty mainrestricted universe multiverse

如果没有这个源,下面安装某些软件的时候会提示找不到,比如w32codecs

然后 保存编辑好的文件,执行以下命令更新。

sudo apt-getupdate#这一步是更新你的源列表,换源後必须执行

(如果更新速度非常慢请更换源 sudo gedit/etc/apt/sources.list )

sudo apt-getdist-upgrade#这一步是更新软件

更新完软件后,再继续设置吧。

有时你可能需要使用:sudo apt-get -finstall 修复安装

因为经常会用到终端:所以把终端加到右键菜单:

sudo apt-get installnautilus-open-terminal

这就终端就在右键菜单了可以了!!

有必要学会以root权限打开文件夹

sudo apt-get installnautilus-gksu

这样右键单击文件或文件夹,选择以管理员打开!!!

查看隐藏文件是:Ctrl+ H

昨晚回去吃完饭就开始了ubuntu10.10的折腾之旅。用我的Live-HD启动之后,先来个初体验。客观的说,启动速度和关机速度还是相当快的。打开Firefox之后的第一件事就是安装五笔输入法,没有软件源的ubuntu显示很是无能为力,百度到10.10的更新源,下面就是apt-get的天下了。

#官方的Ubuntu 10.10要保留几个用于紧急更新
deb http://security.Ubuntu.com/ubuntu maverick-security mainrestricted
deb-src http://security.Ubuntu.com/ubuntu maverick-security mainrestricted
deb http://security.Ubuntu.com/ubuntu maverick-securityuniverse
deb-src http://security.Ubuntu.com/ubuntu maverick-securityuniverse
deb http://security.Ubuntu.com/ubuntu maverick-securitymultiverse
deb-src http://security.Ubuntu.com/ubuntu maverick-securitymultiverse

#163的,速度很不错的
deb http://mirrors.163.com/Ubuntu/ maverick main restricteduniverse multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-security mainrestricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-updates main restricteduniverse multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-proposed mainrestricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-backports mainrestricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick main restricteduniverse multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-security mainrestricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-updates mainrestricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-proposed mainrestricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-backports mainrestricted universe multiverse
更改ubuntu软件源 ubuntu更改镜像源
deb http://archive.Ubuntu.com/ubuntu/ maverick main restricteduniverse multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-security mainrestricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-updates mainrestricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-proposed mainrestricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-backports mainrestricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick main restricteduniverse multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-security mainrestricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-updates mainrestricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-proposed mainrestricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-backports mainrestricted universe multiverseo

#LUPA的源,速度也很好的(开源社区)
deb http://mirror.lupaworld.com/Ubuntu maverick main restricteduniverse multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-security mainrestricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-updates mainrestricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-backports mainrestricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-proposed mainrestricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick main restricteduniverse multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-security mainrestricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-updates mainrestricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-backports mainrestricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-proposed mainrestricted universe multiverse

#sohu的源
deb http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick mainrestricted
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates mainrestricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates mainrestricted
deb http://mirrors.sohu.com/Ubuntu/ maverick universe
deb-src http://mirrors.sohu.com/Ubuntu/ maverick universe
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates universe
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updatesuniverse
deb http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb http://mirrors.sohu.com/Ubuntu/ maverick-updatesmultiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updatesmultiverse

#中国台湾的源
deb http://security.Ubuntu.com/ubuntu/ maverick-security universemain multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-securityuniverse main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ maverick main universerestricted multiverse
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick main universerestri————cted multiverse
deb http://tw.archive.Ubuntu.com/ubuntu/ maverick-updates universemain multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-updatesuniverse main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ maverick-proposed universemain multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-proposeduniverse main multiverse restricted


我用的是校园网,因此下面地址比较快:
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main multiverse restricted universe

具体操作:
$sudo gedit /etc/apt/source.list
delete all the information in source.list and copy the addressesmentioned above; save
$sudo apt-get uptate

  

爱华网本文地址 » http://www.413yy.cn/a/25101015/259408.html

更多阅读

股票公式全解析:16 股票软件源码引入

股票公式全解析:[16]股票软件源码引入——简介我们上一篇文章主要说明了大智慧的源码引入的基本方法,大家在使用这个源码的时候一定要注意具体的设置,按照我的要求一步一步实现,源码的编写我会专门有一个介绍,现在我继续说明其他股票软件

win7 64位旗舰版下载原版镜像 win7 64位原版镜像

哪里有win7 64位旗舰版下载原版镜像?很多小伙伴们有这样的疑问,下面详细介绍:win7 64位旗舰版下载原版镜像。win7 64位旗舰版下载是win7系列中的终结版本,也是所有Windows7系统中是最贵的(正版系统)也是功能最完善的系统。win7旗舰版下

windows-7纯净版镜像文件的下载 windows10纯净版镜像

windows-7纯净版镜像文件的下载——简介xp停止服务支持,升级到windows-7是不错的选择。但网上和电脑店里出售的windows-7光盘镜像都捆绑着许多根本用不上的软件,下载安装后不但占用硬盘空间,拖慢电脑运行速度,还可能隐藏着未知的木马病

怎样刻录系统光盘 系统镜像刻录到光盘

制作系统安装光盘。怎样刻录系统光盘——工具/软件刻录光驱,可刻录光盘, 裝用刻录软件Nero的电脑;.ISO系统镜像文件。怎样刻录系统光盘——步骤/方法怎样刻录系统光盘 1、双击打开桌面Nero快捷方式图标,启动刻录软件,或在“开始”菜单的

声明:《更改ubuntu软件源 ubuntu更改镜像源》为网友空景分享!如侵犯到您的合法权益请联系我们删除