Ubuntu-16.04 [SOLVED]: code::blocks on Xenial Beta

Ubuntu-16.04 [SOLVED]: code::blocks on Xenial Beta

Home Forums Ubuntu 16.04 Ubuntu-16.04 [SOLVED]: code::blocks on Xenial Beta

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11836

    Anonymous

    QuestionQuestion

    Attempting to install code::blocks through the PPA with apt-get and not having much luck. I keep receiving these errors:

    The following packages have unmet dependencies.
    libcodeblocks0 : Depends: libwxbase2.8-0 (>= 2.8.12.1+dfsg2) but it is not installable
                     Depends: libwxgtk2.8-0 (>= 2.8.12.1+dfsg2) but it is not installable
                     Recommends: codeblocks but it is not going to be installed
    

    I have also attempted installing through Synaptic but to no avail. Has anyone got any ideas?

    Thanks in advance!

    #11838

    Anonymous

    Accepted AnswerAnswer

    To get Code::Blocks installing you have to get a bit creative, as first download the packages for Ubuntu 15.10 from here (simply do a search for libwxgtk2.8-). For a 64-bit system you can as well use the following links to download the packages. Best do the now stated commands in a separate directory so you not install any other downloads you maybe did before.

    wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/libwxgtk2.8-0_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/libwxgtk2.8-dbg_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/libwxgtk2.8-dev_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/libwxbase2.8-dbg_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets2.8/wx2.8-headers_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    

    Now you can go and install those by:

    dpkg -i wx2.8-headers_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    dpkg -i libwxgtk2.8-0_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    dpkg -i libwxbase2.8-dbg_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    dpkg -i libwxgtk2.8-dbg_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    dpkg -i libwxgtk2.8-dev_2.8.12.1+dfsg2-2ubuntu2_amd64.deb
    

    Source: https://askubuntu.com/questions/746892/codeblocks-on-xenial-beta
    Author: Videonauth
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.