Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Installing softwares (actually Code::blocks) on Debian


  • Please log in to reply
10 replies to this topic

#1 FlowingLava

FlowingLava

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:08:15 AM

Posted 06 November 2016 - 12:59 PM

Hi!
I'm a new Debian user. I've got some problems with installing softwares. Debian's repository seems to be poor (on Ubuntu I had nearly every software I wanted).
For example, I want to install code::blocks. Command "apt-get install codeblocks" doesn't work ("Package 'codeblocks' has no installation candidate"). So I went to codeblocks official site and download from source "codeblocks-16.01-1.el7.src.rpm". I tried to install it with Package Installer/Apper Installer but it just failed.

What should I do?


64bit Debian 8.2

BC AdBot (Login to Remove)

 


#2 rufwoof

rufwoof

  • Members
  • 110 posts
  • OFFLINE
  •  
  • Local time:09:15 AM

Posted 06 November 2016 - 01:37 PM

The latest version of Debian Stable is 8.6 so you need to

 

apt-get update

apt-get upgrade

 

Then try codeblocks installation as per https://apt.jenslody.de/

 

Its not in the debian stable repository as far as I can tell, so by installing it you are moving outside of the debian umbrella.


Debian and OpenBSD multiboot's


#3 pcpunk

pcpunk

  • Members
  • 5,659 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:04:15 AM

Posted 06 November 2016 - 01:41 PM

I've never done this but a quick search found a good link, in the Third Post is a link to the instructions.

 

EDIT: Sorry this was for CODEBLOCKS IDE, don't know if that is the same?


Edited by pcpunk, 06 November 2016 - 01:44 PM.

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#4 pcpunk

pcpunk

  • Members
  • 5,659 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:04:15 AM

Posted 06 November 2016 - 01:59 PM

The latest version of Debian Stable is 8.6 so you need to

 

apt-get update

apt-get upgrade

Good call rufwoof

 

Its not in the debian stable repository as far as I can tell, so by installing it you are moving outside of the debian umbrella.

This Unixmen Link says it is, hope this is helpful.  Looks like a current article, maybe once you are Updated and Upgraded it will work.  I saw one article that said there were Dependencies, but the Debian Link should be the best imo.


Edited by pcpunk, 06 November 2016 - 02:01 PM.

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#5 FlowingLava

FlowingLava
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:08:15 AM

Posted 06 November 2016 - 02:33 PM

Ok, I upgraded.
I tried to install according https://apt.jenslody.de/ but probably I mess something up.

https://apt.jenslody.de/stable/pool/release/ - which of those files should I download? I'm not sure if I did everything right

#6 pcpunk

pcpunk

  • Members
  • 5,659 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:04:15 AM

Posted 06 November 2016 - 11:57 PM

Tell us exactly what you did first?

 

That's not the place you download the Package.

 

1. Did you Edit "/etc/apt/sources.list"?

 

2. Did you download or attempt to install anything?

 

3. If you want, type history in Terminal and hit Enter, and highlight any commands that you ran during that time.


Edited by pcpunk, 07 November 2016 - 12:00 AM.

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#7 FlowingLava

FlowingLava
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:08:15 AM

Posted 07 November 2016 - 09:28 AM

1.Yes
2.Yes. I downloaded codeblocks-common_16.01_all.deb and opened it with Apper Installer. Was it wrong? It seems to be installed, code::blocks appears in "installed softwares", but I can't run it.

#8 rufwoof

rufwoof

  • Members
  • 110 posts
  • OFFLINE
  •  
  • Local time:09:15 AM

Posted 07 November 2016 - 11:41 AM

I think you have to run something like dpkg -i somefile.deb to install a .deb package Also afterwards try running apt-get -f install to 'fix' packages (which may install additional dependencies)

Debian and OpenBSD multiboot's


#9 pcpunk

pcpunk

  • Members
  • 5,659 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:04:15 AM

Posted 07 November 2016 - 12:30 PM

rufwoof, FlowingLava only installed ONE .deb file, but there are Seven .deb files involved with codeblocks.


Edited by pcpunk, 07 November 2016 - 12:30 PM.

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#10 rufwoof

rufwoof

  • Members
  • 110 posts
  • OFFLINE
  •  
  • Local time:09:15 AM

Posted 07 November 2016 - 01:13 PM

Oh. OK. Thanks. I'm not familiar with codeblocks (never installed or used it myself)

Debian and OpenBSD multiboot's


#11 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:15 PM

Posted 11 November 2016 - 01:28 AM

Hi FlowingLava

 

I have Debian 8.5 kicking around on one of my computers.

 

If you can tell me a little more about what codeblocks is, and what it is used for, I might be able to take some of the information supplied by my friends and colleagues above, slap it on and give you some feedback?

 

Let me know

 

Cheers

 

:wizardball: Wizard






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users