分类: C/C++
2010-11-19 10:49:02
This document is base on debian 5.0.4
Step1: update the installed softwares and libs
#apt-get upgrade
Step2:add the wxwidgets src to the software sources
#vi /etc/apt/sources.list
Add the below contents:
# wxWidgets/wxPython repository at apt.wxwidgets.org
deb lenny-wx
main
deb-src
lenny-wx main
Step3:
update the software list
#apt-get
update
Step4:
install wxgtk
apt-get install python-wxgtk2.8 python-wxtools wx2.8-i18n
Step5:
download the code::blocks
From
this page:
You
can download the codeblocks-10.05-1-debian-i386.tar.bz2 from the address below:
Step6:unpackage the downloaded codeblocks-10.05-1-debian-i386.tar.bz2, this will create an directory i386
#tar xvf codeblocks-10.05-1-debian-i386.tar.bz2
Step7: install the code::blocks
#cd i386
#dpkg
–i *.deb
Step8:
start the code::blocks
You
can find the start icon
Applications->Programming->Code::Blocks
IDE