Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 ubuntu 10.04. I have installed code::blocks, because I have read many good comments about it. But I have a problem: The code::blocks I installed wasn't the latest version, because I used apt-get install to download it. So here is my question: how can I update code::blocks to the latest version from the terminal( if it's possible ).

share|improve this question
up vote 2 down vote accepted

Here you got two possible actions.

  1. Keep updating your system , once Ubuntu have build the new code blocks , It will place it in upcoming updates . so doing regular update will give you i.e by the Ubuntu updates .

  2. If you hate waiting , then you can get the packages from the codeblock site and then you can install by your own .

    If you like action 2 then here you go .

    open your terminal and type this

    tar -xvf codeblocks-10.05-1-debian-i386.tar.bz2
    cd codeblocks-10.05-1-debian-i386
    sudo make install

hope that helps .

PS:If you faced any problems while installation then report us back . we will help you .

Hope that helps.

share|improve this answer
You could modify you answer a bit:… – Rondogiannis Aristophanes Oct 18 '12 at 16:05
hi you can edit my answer too , if you want to improve it then you do it . @RondogiannisAristophanes – Raja Oct 18 '12 at 16:19

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.