Author Topic: Need help installing Code::Blocks  (Read 3643 times)

Offline Grouch

  • Multiple posting newcomer
  • *
  • Posts: 40
Need help installing Code::Blocks
« on: July 10, 2012, 02:30:09 am »
I have downloaded and installed Code::Blocks on two Ubuntu computers with no problems, but I am now defeated in trying to install 10.05. Here is what the CB website says:
 
"Download the binary release

This is the easy way for installing Code::Blocks. Download the setup file, run it on your computer and Code::Blocks will be installed, ready for you to work with it. Can't get any easier than that!"


Well, I downloaded the codeblocks-10.05-debian-i386.tar.bz2 and told the archive manager to extract. The result was 13 .deb files. Is one supposed to do

sudo dpkg

on each of these? Surely there is an easier way.

Thank you for any help.





Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Need help installing Code::Blocks
« Reply #1 on: July 10, 2012, 06:42:06 am »
For the release 10.05, you can use either ubuntu's repo (all recent revisions have it, debian also)
or use my repo with
Code
deb http://apt.jenslody.de/stable stable release
in /etc/apt/sources.list.
For possibilities to install more recent versions (so called nightly builds) see my site for instructions: http://apt.jenslody.de/ .

Offline Grouch

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Need help installing Code::Blocks
« Reply #2 on: July 11, 2012, 06:09:51 am »
Many thanks, Jens. I now have 10.05 up and running.

For the benefit of others reading this correspondence, let me be more explicit about what I did. First, I did NOT find Code::Blocks 10.05 in the Ubuntu repositories, only 8.10. (I had looked there for 10.05 before posting my question.) So I added Jens's repository by editing the sources.list file in the /etc/apt directory to add the line
Code
deb http://apt.jenslody.de/stable stable release
This file was protected from writing, so I first had to use a terminal to do
Code
sudo chmod a+rw sources.list
and then use gedit to add the line.

Then I restarted the Synaptic Package Manager and looked for codeblocks. There was 10.05! When I clicked one of the old 8.10 files to update, I was sternly warned that the software could not be authenticated and that it might be produced by a malicious individual. Never having found Jens malicious, I decided to go ahead, and all seems well.

The icon on the desktop was not changed, but when I clicked it, 10.05 came up, not 8.10.