To install Code::Blocks 8.02 – go to http://www.codeblocks.org/downloads
Find the Ubuntu package. This tutorial will cover the install of the binaries.
Go ahead and save codeblocks_8.02-0ubuntu1.deb to your desktop.
Right click and extract the package to your desktop.
The following package will contain:
You will need to make sure you can develop wxWidgets applications before Code::Blocks will install.
There is a nice walk-thru tutorial that can be found on the codeblocks wiki at : Code::Blocks Wiki
or you can just enter this command in your terminal. Watch the word wrap as this should all be on 1 line.
sudo apt-get install build-essential gdb libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx2.8-doc wx-common
Even though this was set the dependencies are not recognized by Code::Blocks so then you have to manually override by going to: http://apt.wxwidgets.org/dists/ and download libwxbase2.8-0_220.127.116.11-0_XXX.deb & libwxgtk2.8-0_18.104.22.168-0_XXX.deb at the least.
When you go to install it will probably say something along the lines of wxgtk2.8 being current. Go ahead and install over it with both packages.
Then go to your codeblocks_8.02-0ubuntu1.deb package and double click libcodeblocks0_8.02-0ubuntu1_i386.deb
This has to be installed first as all of these packages are dependent on each other.
Then double click codeblocks_8.02-0ubuntu1_i386.deb and once installed you are all set.
The rest are optional but make sure you install the lib packages first.