Harpo Harpo - 7 months ago 109
Linux Question

Cannot install Code::Blocks IDE on Debian 8 Jesse

I am trying to install

codeblocks 16.01
on 64 bit Debian Jessie. For some reason I cannot. I downloaded the file
from the
download page .

Inside this file there are many .deb files - The .deb files in the download

I have tried to install both amd64.deb and common_16.01_all.deb graphically by right-click -> open with -> package install

when I try this it does not work. A window pops up saying "Failed to instal files: An unspecified transaction error has occured. More information is available in the detailed report."

If I knew where to find this detailed report I would paste it here. That would be very helpful.

Something different happens when I try to install codeblocks-common_16.01_all.deb graphically. My password is prompted then an "Installing Packages" loading bar window appears. Then that window disappears. When I go into my program finder to launch codeblocks there is no icon to launch the program. I assume that means that the program is not installed.

Any other .deb files just do the same thing as amd64.deb - "An unspecified transaction error has occured."

I would really like some help installing this ide. Maybe I have to install another package in this folder? The download page for codeblocks does not detail exactly what I have to do.

I will try my best to provide any information you need if you ask for it. Thanks you!


You can install codeblocks from backports as mentioned @Steh:

apt edit-sources

add the following line:

deb http://httpredir.debian.org/debian jessie-backports main

Save and update:

apt update

check it with apt-cahe policy codeblock:

Installed: (none)
Candidate: 16.01+dfsg-2~bpo8+1
Version table:
  16.01+dfsg-2~bpo8+1 0
     100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages

install it:

apt-get -t jessie-backports install codeblocks

from the tarball:

install the required package:

Install the compiler.

apt-get install build-essential

Install the debugger:

apt-get install gdb

Install wxWidgets library

apt-get install libwxgtk2.8-0

Install the wxWidgets developement packages:

apt-get install libwxgtk2.8-dev

Download the tarball from here then extract it:

wget http://netix.dl.sourceforge.net/project/codeblocks/Binaries/16.01/Linux/Debian%20Jessie/codeblocks_16.01_amd64_jessie.tar.xz
tar xvf codeblocks_16.01_amd64_jessie.tar.xz

Change directory and Install all the packages :

dpkg -i *.deb