Chinaunix首页 | 论坛 | 博客
  • 博客访问: 410207
  • 博文数量: 101
  • 博客积分: 2324
  • 博客等级: 大尉
  • 技术积分: 887
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-19 19:28
文章分类

全部博文(101)

文章存档

2012年(3)

2011年(60)

2010年(38)

分类: 系统运维

2011-05-18 13:15:07

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 maverick main restricted universe multiverse
deb maverick-security main restricted universe multiverse
deb maverick-updates main restricted universe multiverse
deb maverick-proposed main restricted universe multiverse
deb maverick-backports main restricted universe multiverse
deb-src maverick main restricted universe multiverse
deb-src maverick-security main restricted universe multiverse
deb-src maverick-updates main restricted universe multiverse
deb-src maverick-proposed main restricted universe multiverse
deb-src maverick-backports main restricted universe multiverse
deb maverick main restricted universe multiverse
deb maverick-security main restricted universe multiverse
deb maverick-updates main restricted universe multiverse
deb maverick-proposed main restricted universe multiverse
deb maverick-backports main restricted universe multiverse
deb-src maverick main restricted universe multiverse
deb-src maverick-security main restricted universe multiverse
deb-src maverick-updates main restricted universe multiverse
deb-src maverick-proposed main restricted universe multiverse
deb-src maverick-backports main restricted universe multiverseo
  LUPA的源,速度也很好的
deb maverick main restricted universe multiverse
deb maverick-security main restricted universe multiverse
deb maverick-updates main restricted universe multiverse
deb maverick-backports main restricted universe multiverse
deb maverick-proposed main restricted universe multiverse
deb-src maverick main restricted universe multiverse
deb-src maverick-security main restricted universe multiverse
deb-src maverick-updates main restricted universe multiverse
deb-src maverick-backports main restricted universe multiverse
deb-src maverick-proposed main restricted universe multiverse
 
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Yao_GUET/archive/2011/01/12/6132973.aspx
阅读(1458) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~