Installing Code::Blocks nightly build on Ubuntu

From Code::Blocks
Revision as of 11:00, 8 July 2006 by Artojon (talk | contribs) (moved from another article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a quick guide to get Code::Blocks up and running on your ubuntu based Linux distribution. It is also going to make sure you can develop wxWidgets applications on your box as well. Look at the bottom of this guide for a complete command line that will install all the packages in one operation.

1. Get the latest nigtly build of Code::Blocks from the [/index.php?board=20.0 nightly builds forum].

2. Install Code::Blocks.

sudo dpkg -i <Name_Of_Daily_Build.deb>

3. Install the compiler.

sudo apt-get install build-essential

4. Install the debugger.

sudo apt-get install gdb

5. Install wxWidgets library. (This package is all that is needed to run any application that uses wxWidgets. ie. Code::Blocks)

sudo apt-get install libwxgtk2.6-0

6. Install the wxWidgets developement packages. (This is used to develop wxWidgets applications of your own.)

sudo apt-get install libwxgtk2.6-dev wx2.6-headers wx-common

7. (OPTIONAL) Install the wxWidgets documentation.

sudo apt-get install wx2.6-doc




NOTE: Here is a complete command line for steps 3 - 7. Watch for word wrap.

sudo apt-get install build-essential gdb libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx2.6-doc wx-common


Without optional steps:

sudo apt-get install build-essential gdb libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common