[转] linux流

[转] linux源

转自:http://blog.163.com/yinligang_111/blog/static/129288372011621104853803/

?

更新源方法:

1. 打开终端。单击主菜单中的“应用程序 – 附件 – 终端”。

2. 修改更新服务器列表。请在终端中执行下面的两条命令:

???

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup?

?? #备份原来的软件列表,会要求输入密码

?? sudo gedit /etc/apt/sources.list

??
#用gedit打开sources.list文件

?? 在接下来在打开的文本编辑器中,把看到的内容全部删掉,在上面Ubuntu11.04源列表里选择一组对于你来说速度最快的更新服务器列表。粘贴到你所看到的窗口中。这里推荐台湾源和网易源,更新软件的速度很快!

4. 关闭文本编辑器。

5. 更新软件包列表。执行下面的命令:?

???
sudo apt-get update

6. 安装系统更新?

??? 打开“系统->系统管理->更新管理器”,安装更新。完成后若系统提示重新启动,请重新启动系统。

下面是Ubuntu 11.04一些常见的源

#Ubuntu官方源

deb http://cn.archive.Ubuntu.com/ubuntu/ natty multiverse

deb-src http://cn.archive.Ubuntu.com/ubuntu/ natty multiverse

deb http://cn.archive.Ubuntu.com/ubuntu/ natty-updates multiverse

deb-src http://cn.archive.Ubuntu.com/ubuntu/ natty-updates multiverse

deb http://security.Ubuntu.com/ubuntu natty-security main restricted

deb-src http://security.Ubuntu.com/ubuntu natty-security main restricted

deb http://security.Ubuntu.com/ubuntu natty-security universe

deb-src http://security.Ubuntu.com/ubuntu natty-security universe

deb http://security.Ubuntu.com/ubuntu natty-security multiverse

deb-src http://security.Ubuntu.com/ubuntu natty-security multiverse

deb http://archive.canonical.com/Ubuntu natty partner

deb-src http://archive.canonical.com/Ubuntu natty partner

?

#Ubuntu 11.04台湾源(推荐)

deb http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty main universe restricted multiverse

deb http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted

deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-security universe main multiverse restricted

deb http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted

deb-src http://tw.archive.Ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted

?

#SRT Sources

deb http://Ubuntu.srt.cn/ubuntu/ natty main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-security main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-updates main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-proposed main restricted universe multiverse

deb http://Ubuntu.srt.cn/ubuntu/ natty-backports ma

[转] linux流

相关文章:

你感兴趣的文章:

标签云: