2008年2月16日 星期六

Code::Blocks 暫時先安裝

其實一直以來都是用記事本加comand line..
今天才發現有這一套open source軟體可以用!!
聽說是linux的Dev C++吧!
這樣說也許不對xdxd 因為它好像是跨平台?!

google找了一下安裝方法: 原文
首先先確定已安裝gcc gdb

sudo apt-get install build-essential
sudo apt-get install gdb


1.add repositories
sudo vi /etc/apt/sources.list
加入

deb http://apt.wxwidgets.org/ gutsy-wx main
deb http://lgp203.free.fr/ubuntu/ gutsy universe

2. get the gpg key for the repos

wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -

3. 開始安裝

sudo apt-get update
sudo apt-get install codeblocks
sudo apt-get install codeblocks-contrib # plug-in

註:若要開發 wxWidgets GUI 應用程式,下載 wxSmith plug-in(optional):
sudo apt-get install libwxsmithlib0
安裝contrib會自動帶入

沒有留言: