July 24, 2008

How-To: Compile and Install Code::Blocks from Source in Debian Lenny

Code::Blocks is an IDE (Integrated Development Environment) for C and C++, built using the wxWidgets kit.

The latest version is 8.02, available for download from the official downloads page. To install the dependencies, use:

apt-get install build-essential
apt-get install libwxgtk2.8-dev wx-common libgtk2.0-dev

Next, uncompress the source and issue the usual:

./configure
make
make install

Last one as root. You can launch Code::Blocks by running codeblocks in a shell or typing ALT+F2 and type codeblocks in the run dialogue.

Codeblocks 6.02

No comments: