Installing Code::Blocks in Debian(Lenny)

by freak on August 8, 2009

I had to recently switch to Debian(Lenny) as my System Admin switched from Ubuntu to Debian. Being a engineering student, I have to code in C/C++ and I’m not that acquanted with commandline compilation. I hate that “gcc” and blah…blah thing(when had to type that). I am familiar with the famous IDE Code::Blocks and have been using it since long so thought of installing it in the newly setup Debian. I opened synaptic for installing ti but couldn’t find it in the list. So thought it should be something with the repolist. So, I googled a bit and found the repos to be added. So I am sharing this with all of you stuck there without any solution.

I opened the repoosurce window from the Synaptic package manager and added the folowing lines

Screenshot-Repositories

URL: http://apt.jenslody.de/

Distribution: any

Section(s): main

Code:Blocks also requires wx-Widget so I added its repo too.

URL: deb http://apt.wxwidgets.org/

Distribution: lenny-wx

Section(s): main

If you haven’t installed Synaptic Package Manager then you can add the following lines to your sources.list file.

# Code::Blocks.list
deb http://apt.jenslody.de/ any main
# wxWidgets.list
deb http://apt.wxwidgets.org/ lenny-wx main

If you are using Synaptic Package Manager then click the Big reload button to reload the package list and you are ready to install Code:Block. If not then try commandline. Here is some help


apt-get update
apt-get install codeblocks

Now you should be ready for using Code::Blocks.

{ 1 comment… read it below or add one }

t0x1caT0r August 9, 2009 at 1:10 pm

Nice. So G shifted to Debian?

Leave a Comment