![我正在尝试下载 VirtualBox,但收到失败消息](https://linux22.com/image/1082882/%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%B8%8B%E8%BD%BD%20VirtualBox%EF%BC%8C%E4%BD%86%E6%94%B6%E5%88%B0%E5%A4%B1%E8%B4%A5%E6%B6%88%E6%81%AF.png)
以下是来自 vbox-install.log 的失败消息:DKMS:
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
我想我还可以问一下内核是什么?
答案1
sudo apt-get install dkms build-essential linux-headers-generic
sudo /etc/init.d/vboxdrv setup