How to Install Code::Blocks IDE 16.01 in Ubuntu 16.04

May 3, 2016 — 5 Comments

Code Blocks IDE

Code::Blocks is an open-source, cross-platform, full-featured C, C++, and Fortran IDE designed to be very extensible and fully configurable.

While Ubuntu provides the old Code::Blocks 13.12 release in its universe repository, this tutorial shows you how to install the latest stable Code::Blocks 16.01 using PPA.

Code::Blocks 16.01

1. Add Code::Blocks Stable PPA, so you can receive future software updates along with system updates using Software Updater.

Open terminal from Unity Dash or by pressing Ctrl+Alt+T combination key. When it opens, paste the command below and hit run:

sudo add-apt-repository ppa:damien-moore/codeblocks-stable

Type in password (no visual feedback) when it asks and hit Enter to add PPA.


2. If you have Synaptic Package Manager, you can now launch it, search for and install the IDE after clicking Refresh.

Install CodeBlocks

Or just run the commands below one by one to do update and install the software:

sudo apt update

sudo apt install codeblocks

You may need to log out and log in back after installation to make it available in Unity Dash/App Launcher.

3. (Optional) To remove Code::Blocks IDE, use Synaptic Package Manager or run the command below in terminal:

sudo apt remove codeblocks && sudo apt autoremove

And the PPA can be removed via Software & Updates utility -> Other Software tab.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

5 responses to How to Install Code::Blocks IDE 16.01 in Ubuntu 16.04

  1. Dikondo lukaka Isaac May 11, 2016 at 11:02 am

    does it come with compiler ?

  2. Compiler for what ? On ubuntu you can install compiler directly by apt-get, on windows you have mingw port on sourceforge for example. BTW maybe codeblocks have version with compiler, default no.

  3. Thanks! the only tutorial that worked really!

  4. Thanks a million it really works .
    Now if I can just get Unity to show all applications in the dash.

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>