Monday, May 14, 2012

How to install Code::Blocks Nightlies in Ubuntu

I got into a problem trying to do this. Here's the place I discussed it.
[ http://forums.codeblocks.org/index.php/topic,16342.0.html ]

This tutorial works for any version of Linux that has Ubuntu. Apparently, I did all this in Linux Mint 12 (Lisa). The only repository discussed herer is Jens'. But this guy doesn't bother updating his repo-homepage. So, I had a crashed Lisa installation trying to be smarty pants. In the end, found several scattered threads where he told how to install the nightlies (added them up myself).

Now.

1. First of all you have to add these 2 lines to your sources.list

    deb http://apt.jenslody.de/ any main
    deb-src http://apt.jenslody.de/ any main

But wait, there are some modifications for different types of versions.
    Replace main with:
                release [For the usual releases]

2. Add another line for wxWidgets to your sources.list
   
    deb http://apt.wxwidgets.org/ squeeze-wx main

3. sudo apt-get update

4. Now install using command: sudo apt-get install codeblocks codeblocks-contrib


And to upgrade to the latest Nightly when in comes out

    sudo apt-get update
    sudo apt-get remove codeblocks codeblocks-contrib
    sudo apt-get install codeblocks codeblocks-contrib

No comments:

Post a Comment

Post your comment here. If you want to say something about programming problems, scripts, software etc, please try to be as descriptive as possible.

Connect Rapoo MT750S with Linux (Tested on Manjaro)

 I bought this obvious copy of MX Master 2S in hopes of having the device switching functionality along with a lightweight body because I ha...