News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Is there a step by step guide to install cb on ubuntu?

Started by huzhongshan, May 11, 2012, 12:36:48 PM

Previous topic - Next topic

huzhongshan

I try to use cb in ubuntu? but donot know how to install , any detail guide for this?

oBFusCATed

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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

huzhongshan

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?

oBFusCATed

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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

huzhongshan

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 ??

huzhongshan

I know the where is my problem----It should use  sudo apt-get update  after edit the source.lst
It works now!

Jenna

Quote from: 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!
Or install synaptic (not installed by default in ubuntu as far as I know) and use it as graphical package manager.