Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using 12.04 64 bit ubuntu and I want to install Code Block IDE please guide me ? Is there any repository ?

share|improve this question
Cod::Blocks is in the Ubuntu repository. – zeitue Oct 10 '12 at 6:28
@NlightNFotis How do you aspect someone who is new to Ubuntu to manage all those stuff. So, this is the place where lone user get help from the communities. May be the question may sound stupid for the expert but for the newbies it's a serious thing. Plz. don't understand estimate us instead lit the flame of 'Humanity'. Anyway, I consider you all as the expert, Plz don't hesitate to help me in the future. – Namshum Oct 10 '12 at 6:54
@Namshum My comment was not to flame you, rather, to imply that any serious software developer is a problem solver, and he should find an answer to his problems by himself and not ask others for solutions to his problems, unless he has done all he could to find an answer, and yet he failed. – NlightNFotis Oct 10 '12 at 12:33
@NlightNFotis Thanks! for your link. And also I want to tell you that I am trying to learn some programming in C++. – Namshum Oct 10 '12 at 16:38
Possible duplicate of How do I install software using the Ubuntu Software Center? – DJCrashdummy Oct 16 '15 at 15:49
up vote 6 down vote accepted

Code::Blocks is a cross-platform Integrated Development Environment (IDE). It is based on a self-developed plugin framework allowing unlimited extensibility. Most of its functionality is already provided by plugins. Plugins included in the base package are:

  • Compiler frontend to many free compilers
  • Debugger frontend for GDB (and CDB for windows platforms)
  • Source formatter (based on AStyle)
  • Wizard to create new C++ classes
  • Code-completion / symbols-browser (work in progress)
  • Default MIME handler
  • Wizard to create new Code::Blocks plugins
  • To-do list
  • Extensible wizard based on scripts
  • Autosave (saves your work in the unfortunate case of a crash)1

To download and install click the image below.

Install via the software center

1Source:Ubuntu Apps Directory

share|improve this answer
The current version in the Ubuntu 12.04 repository is 10.05-2, while the website has Code::Blocks 12.11 available for download. – Drew Noakes Mar 19 '13 at 2:44

It's available in the Software Center.

Just open the Ubuntu Software Center and search for its name.

Or install via the terminal:

sudo apt-get install codeblocks
share|improve this answer
I got this error :- Failed to fetch… Connection failed [IP: 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? – Namshum Oct 10 '12 at 16:40

You can install CodeBlocks using following command:

sudo apt-get install codeblocks
share|improve this answer

I suggest to use newest version from 'Jens' Even if it's unofficial, we can get all versions. You can also choose repositury or just'deb' file.

Tested on Ubuntu 12.04 - both 32 and 64 bit.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.