Since my version was 64-bit, I searched for two methods.
Method One,
First, I went to Http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu.
Everything is fine when it is configured to the environment compiler, but:
1. Get the latest nigtly build of Code::Blocks from the nightly Builds forum. It's starting to go wrong here, nightly builds forum. All of the releases are in Windows version (almost).
So skip this step, go directly to the official website corresponding to the latest stable version, and then follow the original text, that is, through
sudo dpkg-i *.deb
Install all the packages and finish.
Method Two,
Three lines of code are done:
You can install by adding a PPA method:
sudo add-apt-repository ppa:pasgui/ppasudo apt-get updatesudo Install Codeblocks
I used the second method, not to look at the picture:
Kubuntu 14.10 under Installation codeblocks 13.12