Author Topic: Debian Installation of Code::Blocks  (Read 11371 times)

Offline slowlearningtom

  • Single posting newcomer
  • *
  • Posts: 2
Debian Installation of Code::Blocks
« on: February 23, 2017, 05:13:09 pm »
Hi,

  I use Debian + XFCE.  I am new to Linux.  I used CB for one semester of a programming class.  I install .DEB files using GDebi Package Installer.  For installing CB on my system, I downloaded:
codeblocks_16.01_amd64_jessie.tar.xz

I extracted it (using XArchiver).  Using GDebi, I installed the different .DEB files in the order it forced me to (as dependencies dictated).

I should have used
Code
apt-get install codeblocks
I think.  I thought that I tried that.  Perhaps I spelled it wrong.  I swear that I tried that, and when it failed, I went to codeblocks.org to see if there was a .DEB for me.  Anyhoozlebee, for a Linux newbie, the download page should mention the Debian Package.

Code
apt-get install codeblocks
would have worked for me, right?

Offline cacb

  • Lives here!
  • ****
  • Posts: 536
Re: Debian Installation of Code::Blocks
« Reply #1 on: February 24, 2017, 02:37:34 pm »
Try

$ sudo apt-get install codeblocks

i.e. you need priveleges to install software. Unless you have a specific reason it is best to install from the repository via apt-get