重定向

此博客已停止更新,新址: http://blog.scicooking.net


2008年11月13日星期四

从软件源中安装 Code::Blocks

Code::Blocks 是开源的跨平台的免费的 C++ IDE, 使用 wxWidgets

1、加入第三方源公钥
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -


2、添加软件源
系统 -> 软件源 -> 第三方软件, 添加:
deb http://apt.wxwidgets.org/ hardy-wx main
deb http://lgp203.free.fr/ubuntu/ hardy universe


hardy 是 ubuntu 8.04, 其他版本修改成对应的名称

3、安装
sudo apt-get update
sudo apt-get install codeblocks

没有评论: