unable to install kernel-devel and kernel-header file

Kernels & Hardware, configuring network, installing services

unable to install kernel-devel and kernel-header file

Postby newbie@dj » 2018-05-29 05:36

hey,
i am trying to install dahdi on my debian. but i am not able to install kernel-devel and kernel-header file. evry time i run the command apt-get install kernel-devel kernel-header command i get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kernel-devel
E: Unable to locate package kernel-headers
please suggest me where am i wrong or what step am i missing.
newbie@dj
 
Posts: 6
Joined: 2018-05-29 05:26

Re: unable to install kernel-devel and kernel-header file

Postby arzgi » 2018-05-29 06:03

newbie@dj wrote:hey,
i am trying to install dahdi on my debian. but i am not able to install kernel-devel and kernel-header file. evry time i run the command apt-get install kernel-devel kernel-header command i get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kernel-devel
E: Unable to locate package kernel-headers
please suggest me where am i wrong or what step am i missing.


There are no such packages. By kernel-headers you probably meen linux-kernel-headers, but note there is own version for each architecture. kernel-devel, that I can't figure out.

Use aptitude or apt to search, if you are not sure of package name. And https://packages.debian.org can also be used.
arzgi
 
Posts: 387
Joined: 2008-02-21 17:03
Location: Finland

Re: unable to install kernel-devel and kernel-header file

Postby newbie@dj » 2018-05-29 07:00

thnaks a lot @arzgi
i will see to it.
newbie@dj
 
Posts: 6
Joined: 2018-05-29 05:26

Re: unable to install kernel-devel and kernel-header file

Postby stevepusser » 2018-05-29 16:16

You can't be sure that instructions for other distros will apply on Debian and its derivatives---in this case, surely not.

Debian has a tool you can install to make sure you have kernel module build environments set up:

Install the module-assistant package.

As sysadmin, run "m-a prepare". Done.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 10002
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable