The officially official Devuan Forum!

You are not logged in.

#1 2018-10-20 11:54:33

miozin
Member
Registered: 2018-10-20
Posts: 3  

Where are the packages for installing development tools (gcc, etc.)?

Hi,

I have installed Devuan ascii (amd64) on one of my computers. Then I tried to compile a utility (partimage) and failed because no development tools (gcc, binutils, etc.) had been installed. Tried to get them using the package manager but the metapackage 'build-essentials' that I had used for installing the development tools in Debian was not found anywhere in the Devuan repos.

So how can the development tools be installed in Devuan ascii?

Suggestion: Include development tools in the software selection list shown at installation time.

Offline

#2 2018-10-20 13:07:42

Panopticon
Member
Registered: 2018-01-27
Posts: 306  

Re: Where are the packages for installing development tools (gcc, etc.)?

If i understand correctly you cant find build-essential in the devuan repos ?

its not build-essentials , leave the plural out of it.

@refracta:~$ apt search build-essential
Sorting... Done
Full Text Search... Done
build-essential/stable,now 12.3 amd64 [installed]
  Informational list of build-essential packages

Also check out this web based search engine for devuan packages.

https://pkginfo.devuan.org/

Last edited by Panopticon (2018-10-20 13:11:31)

Offline

#3 2018-10-20 14:16:21

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Where are the packages for installing development tools (gcc, etc.)?

You'll also need to install the linux-headers-<version> that matches your running kernel.
apt-get install linux-headers-$(uname -r)

Offline

#4 2018-10-21 07:54:31

miozin
Member
Registered: 2018-10-20
Posts: 3  

Re: Where are the packages for installing development tools (gcc, etc.)?

Hi,

Thanks for the prompt reply. It was indeed my mistake to use plurals.

BTW as this is my first time here I would like to express my appreciation of the tremendous job you did by creating Devuan. I have been a long-time Ubuntu and Debian user, but now that I have an alternative I will never go back to them and systemd. Thanks!

Offline

#5 2018-10-21 08:07:28

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: Where are the packages for installing development tools (gcc, etc.)?

Welcome, miozin.

Offline

#6 2018-10-21 08:40:25

miozin
Member
Registered: 2018-10-20
Posts: 3  

Re: Where are the packages for installing development tools (gcc, etc.)?

fsmithred wrote:

You'll also need to install the linux-headers-<version> that matches your running kernel.
apt-get install linux-headers-$(uname -r)

I got build-essential w/o problems. Then I tried to get the headers, but I have a slight problem. It seems that the header package available at present is for 4.9.0.7 and I have the kernel 4.9.0.6 (I used an install DVD I downloaded a few months ago). Does it matter? Should I upgrade my kernel or just go ahead and install the newer headers?

Offline

#7 2018-10-21 10:55:53

Panopticon
Member
Registered: 2018-01-27
Posts: 306  

Re: Where are the packages for installing development tools (gcc, etc.)?

^ you should probably should do an update first before installing any packages.

sudo apt-get update && sudo apt-get upgrade

Last edited by Panopticon (2018-10-21 10:56:53)

Offline

Board footer