How to install Code::Blocks
Code::Blocks is a great IDE for C++. Here is a guide to install Code::Blocks in Linux.
Open a Terminal (Applications -> Accessories), and wright:
sudo gedit /etc/apt/sources.list
add these lines to the end of the file:
deb http://lgp203.free.fr/ubuntu/ gutsy universe
deb http://apt.wxwidgets.org/ gutsy-wx main
In the Terminal:
wget -q http://lgp203.free.fr/public.key -O- | sudo apt-key add -
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
sudo apt-get update
Installing the packages:
sudo apt-get install libcodeblocks0 codeblocks libwxsmithlib0 codeblocks-contrib
You will now receive updates automatically.
You will find Code::Blocks at Applications -> Programming.
man, after like 7 hours of trying to install Code::Blocks, I found your guide which makes it SO easy
I just substituted “hardy” for “gutsy”
Thanks for the guide!
thanks you
In Ubuntu Intrepid Ibex you can just type
sudo apt-get install codeblocks