I managed to get Bumblebee to run some time ago, but after an update it just completely stopped. I'm trying to set it up again but I can't get past this error
[ 3270.586218] [ERROR]Module 'nvidia-390' is not found.
After googling I found this, which looks my exact problem. After running find /lib/modules/$(uname -r) -name 'nvidia*.ko*' I receive
/lib/modules/4.15.0-23-generic/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko
/lib/modules/4.15.0-23-generic/updates/dkms/nvidia.ko
/lib/modules/4.15.0-23-generic/updates/dkms/nvidia-modeset.ko
/lib/modules/4.15.0-23-generic/updates/dkms/nvidia-uvm.ko
/lib/modules/4.15.0-23-generic/updates/dkms/nvidia-drm.ko
None of these look like what I need, which means I must be missing the kernel headers.
Where do I find these? Is there a guide I can follow that will tell me how to install them?
Using Ubuntu 18.04.01 LTS