Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on May 11, 2012, 12:36:48 pm

Title: Is there a step by step guide to install cb on ubuntu?
Post by: huzhongshan on May 11, 2012, 12:36:48 pm
I try to use cb in ubuntu? but donot know how to install , any detail guide for this?
Title: Re: Is there a step by step guide to install cb on ubuntu?
Post by: oBFusCATed on May 11, 2012, 01:11:53 pm
Any guide describing how to install software on ubuntu is enough, I think.
It should be pretty strait forward... apt-get install codeblocks... most of the time...
Title: Re: Is there a step by step guide to install cb on ubuntu?
Post by: huzhongshan on May 11, 2012, 01:16:47 pm
error message :

some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 codeblocks : Depends: libcodeblocks0 (= 10.05svn7950-1) but it is not going to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu8.1 is to be installed
              Depends: libwxgtk2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu8.1 is to be installed
E: Broken packages

how to?
Title: Re: Is there a step by step guide to install cb on ubuntu?
Post by: oBFusCATed on May 11, 2012, 01:19:06 pm
It seems you're using a nightly build or a PPA.
To fix your problem you should ask the one who have provided the package.

BTW: Here is a guide: http://apt.jenslody.de/ for using the nightlies...
Title: Re: Is there a step by step guide to install cb on ubuntu?
Post by: huzhongshan on May 11, 2012, 01:30:22 pm
I followed the guide from http://apt.jenslody.de/, but it is too simple for a guide.

it says You can switch to the Maverick or Debian-squeeze (aka stable) packages from http://apt.wxwidgets.org.

but how to do it ?  I am new to ubuntu. I donot know how to SWITCH to such package .

anyone can tell me how to switch ??
Title: Re: Is there a step by step guide to install cb on ubuntu?
Post by: huzhongshan on May 11, 2012, 02:11:58 pm
I know the where is my problem----It should use  sudo apt-get update  after edit the source.lst
It works now!
Title: Re: Is there a step by step guide to install cb on ubuntu?
Post by: Jenna on May 11, 2012, 07:32:04 pm
I know the where is my problem----It should use  sudo apt-get update  after edit the source.lst
It works now!
Or install synaptic (not installed by default in ubuntu as far as I know) and use it as graphical package manager.