I'm trying to run a shell installer script and it's failing with this error:
The directory it is checking for is /lib/modules/`uname -r`/buildKernel sources or kernel headers directory not found. Please install the corresponding package first.
I've seen some other threads on doing this for Debian, but those instructions don't seem to work, nor do these (for obvious reasons):
Code: Select all
# How to install kernel sources (or kernel headers).
# Debian: apt-get install make gcc linux-headers-`uname -r`
# RedHat,Fedora: yum install make gcc kernel-devel-`uname -r`
# Proxmox VE: apt-get install build-essential pve-headers-`uname -r`