Installing VirtualBox on openSUSE 11.3 has similar method as on openSUSE 11.2 with only a few changes : VirtualBox on openSUSE 11.3 need openSSL and PNG library as dependencies package.
I’m using VirtualBox 3.2.6 64 bit on openSUSE 11.3 64 bit on this article. You may also use this guide for installing VirtualBox 32 bit, there is no major difference between 2 version.
- Install required library and package : kernel-source, make, gcc, gcc-c++, pam-devel, kernel-syms by using YAST | Software | Software Management orÂ Zypper package manager :
zypper in kernel-source make gcc gcc-c++ pam-devel kernel-syms
- Download VirtualBox binary installer. Choose an appropriate version whether 32 bit or 64 bit depending your processor.
- Install VirtualBox using Zypper with the following command (I’m using /opt as base folder, adjust with your download folder) :
zypper in ./VirtualBox-3.2-3.2.6_63112_openSUSE111-1.x86_64.rpm
- Add your user as VirtualBox group member by using YAST | Security & User | User & Group Management. Choose user name, click Edit and then move to Details tab and give a mark on vboxusers checkbox, cdrom and disk.
- Logout re-login so new group will be updated to your profile
- RunÂ VirtualBox from system menu or by using konsole/terminalÂ : VirtualBox (case sensitive)
- Installation process may failed while compiling VirtualBox module for kernel. Check the version of your running kernel and kernel source using uname -r and zypper if kernel-source as below :
vavai:/home/vavai # zypper if kernel-source
Loading repository data…
Reading installed packages…Information for package kernel-source:
Installed Size: 334.4 MiB
Summary: The Linux Kernel Sources
Linux kernel sources with many fixes and improvements.
Source Timestamp: 2010-06-29 02:39:08 +0200
GIT Revision: 7a744773dd7c2539b7757435d0108cb701dd0165
GIT Branch: openSUSE-11.3
vavai:/home/vavai # uname -r
See that I’m using same version for both running kernel and kernel-source. If you found different version, try to updating the lower version to be same version as another one.
- VirtualBox will automatically remove old package if found previous installation without deleting your existing image but it’s highly recommended to create a backup before installing and updating VirtualBox.