Chinaunix首页 | 论坛 | 博客
  • 博客访问: 373976
  • 博文数量: 150
  • 博客积分: 3423
  • 博客等级: 中校
  • 技术积分: 1005
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-15 09:04
文章分类

全部博文(150)

文章存档

2012年(2)

2011年(148)

分类: C/C++

2011-07-21 17:42:28


更新apt的源,测试下来台湾镜像速度是比较快的,2M带宽apt的速度基本能上200k 另据说大陆网易源也不错,没试过。
 
sudo cp /etc/apt/sources.list /etc/apt/sources.listbk

然后将以下内容替换到 /etc/apt/sources.list (我用的是ubuntu8.10)
 
# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See
for how to upgrade to
# newer versions of the distribution.
deb intrepid main restricted
deb-src
intrepid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb
intrepid-updates main restricted
deb-src
intrepid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb
intrepid universe
deb-src
intrepid universe
deb
intrepid-updates universe
deb-src
intrepid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb
intrepid multiverse
deb-src
intrepid multiverse
deb
intrepid-updates multiverse
deb-src
intrepid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb
intrepid-backports main restricted universe multiverse
# deb-src
intrepid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb
intrepid partner
# deb-src
intrepid partner
deb intrepid-security main restricted
deb-src
intrepid-security main restricted
deb
intrepid-security universe
deb-src
intrepid-security universe
deb
intrepid-security multiverse
deb-src
intrepid-security multiverse
 

更新源列表以后输入
sudo apt-get update
 
然后可以安装所需要的软件了。
 
1)装基本开发环境
sudo apt-get install build-essential gcc make gdb

2)装编辑器
sudo apt-get install vim emacs

3)装基本开发库
sudo apt-get install libc6 libc6-dev

4)装manpage, 装了之后可以直接用 man 查阅各函数的详细用法 如 man opendir
sudo apt-get install manpages-dev

5)装esvn版本管理器
sudo apt-get install esvn

 

可以选择安装一些集成开发环境 如eclipse kdevelop 等。
 
另外如需要makefile生成工具可以选择 automake qmake 等。
 
现在可以通过ubuntu 进行软件开发了。


阅读(724) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~