*** short instructions to install codeblocks 10.05 on ubuntu 10.04 (64 bit) ***1) If you have codeblocks 8.02 installed remove it.
sudo apt-get remove codeblocks
2) Add the wxwidgets repository to your system. (or add "deb
http://apt.wxwidgets.org/ lucid-wx main" to your system throuh the gui System->Administration->Software Sources->Other Software->Add...)
echo "deb http://apt.wxwidgets.org/ lucid-wx main" >> /etc/apt/sources.list
3) Add the key to trust the repository and update apt
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
sudo apt-get update
4) Install the correct wxwidgets verion.
sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common
5) Install codeblocks 64 bit version (paste this line in the folder where you've downloaded and extracted the 10.05 package)
sudo dpkg -i codeblocks_10.05-1_amd64.deb codeblocks-common_10.05-1_all.deb libcodeblocks0_10.05-1_amd64.deb codeblocks-contrib_10.05-1_amd64.deb codeblocks-contrib-common_10.05-1_all.deb libwxsmithlib0_10.05-1_amd64.deb codeblocks-doc-en_10.05-1_all.deb