# debian桌面端安装virtualbox和安卓模拟器 URL: https://chengjinfang.com/posts/2017/install-virtualbox/ Author: 程锦方 Date: 2017-05-22 Tags: #linux #note #install Summary: 在 Debian 桌面安装 VirtualBox 和安卓模拟器,处理内核模块报错并安装扩展包。 ------------------------------------------------------------------------ ##安装 `sudo apt-get install virtualbox` ##rc = -1908 ```text Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/sbin/vboxconfig' as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. ``` ###安装dkms `sudo apt-get install dkms` `sudo apt-get install --reinstall virtualbox-dkms` ##扩展包 共享文件需要安装扩展包 ###扩展包下载 https://www.virtualbox.org/wiki/Downloads ## 安装android模拟器genymotion [下载genymotion](https://www.genymotion.com/#!/download) ```sh sudo ./genymotion-2.4.0_x64.bin #注意替换版本 ``` ------------------------------------------------------------------------ Site: https://chengjinfang.com/ · All Index: https://chengjinfang.com/all/ · RSS: https://chengjinfang.com/rss.xml