软件源目录:cd /etc/zypp/repos.d/
添加软件源:wget download.virtualBox.org/virtualBox/rpm/opensuse/13.2/virtualBox.repo
刷新软件源:zypper ref
安装命令: zypper in VirtualBox-5.1
出错:
解决软件包依赖关系...
问题: 没有什么能提供 libvpx.so.1()(64bit),而它为 VirtualBox-5.1-5.1.6_110634_openSUSE132-1.x86_64 所需
解决方案 1: 不安装 VirtualBox-5.1-5.1.6_110634_openSUSE132-1.x86_64
解决方案 2: 通过忽略一些依赖关系来断开 VirtualBox-5.1-5.1.6_110634_openSUSE132-1.x86_64
解决依赖问题:zypper in https://mirrors.tuna.tsinghua.edu.cn/opensuse/distribution/13.2/repo/oss/suse/x86_64/libvpx1-1.3.0-2.1.2.x86_64.rpm
重新执行安装:zypper in VirtualBox-5.1
打开虚拟机报错:
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.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux,open returned ENOENT.
最好使用suse社区的,并且现有源里面都有对应包。
扩展包和附加包可以在oracle官方找到