Ubuntu下安装gtk+-2.0开发环境的时候,一些可用的更新源

Linux下面安装gtk+-2.0开发环境的时候需要安装一些库,而标准的命令为:

sudo apt-get install gnome-core-devel

但是有时候,apt的获取源可能存在问题,有些文件无法获取,则需要修改apt的获取源配置

sudo gedit /etc/apt/sources.list

打开sources.list文件,在最后面添加下面的服务器源

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

保存文件之后,再执行下面的更新一下
sudo apt-get source
sudo apt-get update

然后再进行安装。




官方的Ubuntu 10.10要保留几个用于紧急更新
deb http://security.Ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.Ubuntu.com/ubuntu maverick-security main restricted
deb http://security.Ubuntu.com/ubuntu maverick-security universe
deb-src http://security.Ubuntu.com/ubuntu maverick-security universe
deb http://security.Ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.Ubuntu.com/ubuntu maverick-security multiverse

  163的,速度很不错的
deb http://mirrors.163.com/Ubuntu/ maverick main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-security main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-proposed main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-security main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-backports main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverseo

  LUPA的源,速度也很好的
deb http://mirror.lupaworld.com/Ubuntu maverick main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-security main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-proposed main restricted universe multiverse

  sohu的源
deb http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted
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-updates universe
deb http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse

  中国台湾的源
deb http://security.Ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-security universe main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ maverick main universe restricted multiverse
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick main universe restricted multiverse
deb http://tw.archive.Ubuntu.com/ubuntu/ maverick-updates universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-updates universe main multiverse restricted
deb http://tw.archive.Ubuntu.com/ubuntu/ maverick-proposed universe main multiverse restricted
deb-src http://tw.archive.Ubuntu.com/ubuntu/ maverick-proposed universe main multiverse restricted

感谢这些服务商免费为大家提供这些带宽和服务器,可能地区不一样 测试的速度会不一样的 建议自己测试设和自己的源

你可能感兴趣的:(linux,ubuntu,服务器,测试,Deb,gtk)