Author Topic: Is there a step by step guide to install cb on ubuntu?  (Read 6010 times)

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 109
Is there a step by step guide to install cb on ubuntu?
« 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Is there a step by step guide to install cb on ubuntu?
« Reply #1 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...
(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!]

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 109
Re: Is there a step by step guide to install cb on ubuntu?
« Reply #2 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Is there a step by step guide to install cb on ubuntu?
« Reply #3 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...
(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!]

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 109
Re: Is there a step by step guide to install cb on ubuntu?
« Reply #4 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 ??

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 109
Re: Is there a step by step guide to install cb on ubuntu?
« Reply #5 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!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Is there a step by step guide to install cb on ubuntu?
« Reply #6 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.