2016-08-02 94 views
2

我需要从WSL内获得Virtualbox中,我试图sudo apt-get install virtualbox但我结束了以下错误:在WSL的Windows安装VirtualBox 10

WARNING: The character device /dev/vboxdrv does not exist. 
    Please install the virtualbox-dkms package and the appropriate 
    headers, most likely linux-headers-3.4.0+. 

    You will not be able to start VMs until this problem is fixed. 

4.3.36_Ubuntur105129

+0

为什么?安装Windows版本的virtualbox – magicandre1981

+0

您无法从bash终端访问Windows二进制文件。如果你知道一种方式,请让我知道。 –

+0

我还是不明白你为什么要这样做,需要通过bash访问Virtualbox。 – magicandre1981

回答

2

Vagrant现在能够检测到它在WSL上运行。
如何配置Windows和WSL以启用此功能在Vagrant website
上描述他们声称这是一项高级功能,但配置看起来相当简单。