The current stable version of Code::Blocks is 16.01. You can install this IDE (Integrated Development Environment) on your Ubuntu 14.04 LTS and 16.04 both by adding PPA via Terminal.
Install Code::Blocks Stable Version From PPA on Ubuntu

Whats new on Code::Blocks 16.01?

  • Compiler: New compiler integration, New compiler switch, improvement of Compiler detection, settings etc . 
  • Code Completion: Fixed variable parsing, struct pointer typedef and many code related bugs. 
  • CCManager (SDK): The latest Code::Blocks has introduced with this tools which allows to work with several code completion plugins.
  • New plugins.
  • Fixed and improvement of Debugger and many features you can see details here.
Probably Code::Blocks is the most popular IDE to C/C++ Programmers to compile and build program.  Personally I am using this for C/C++ Programs, though some time compile and run C/C++ Program through Ubuntu Terminal. Also it is possible to run C/C++ on Sublime Text Editor.

The latest stable version of Code::Blocks is not available on Software Center. We need to add the latest PPA of it and install through Terminal.

To install CodeBlocks Stable Version on Ubuntu follow the instructions:

  1. Open Terminal: To open Terminal, type Ctlr + Alt + T from keyboard or search Terminal from Search box. 
  2. Adding PPA: Copy the following command and hit Enter from keyboard.
    sudo add-apt-repository ppa:damien-moore/codeblocks-stable
    Insert your system password when it is required that won't be shown. And hit Enter again to permit. When adding PPA, if need hit Enter do it.
  3. Update PPA: After adding PPA your system need to update the latest PPA. So run the following command through Terminal and wait till update successfully.
    sudo apt-get update
  4. Install: To install Code::Blocks run the final command.
    sudo apt-get install codeblocks codeblocks-contrib
    Type Y and hit Enter when it is required. Installing may take several times.

After completing installation search Code::Blocks from Search bar. You will get Code::Blocks application to compile C/C++. If you don't get it then restart your computer and search again.  
Have got this article helpful or not working? Put your comment below.