It is possible to install the latest virtualbox and extension pack on Wheezy using the following:
# su sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian wheezy contrib" >> /etc/apt/sources.list
# wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | su apt-key add -
# apt-get update
# apt-get install virtualbox-4.3
If one then tries to install virtualbox-dkms (to prevent virtualbox from failing after a kernel upgrade) it is necessary to uninstall the latest (4.3) version of virtualbox.
The 4.3 virtualbox-dkms in not available in the wheezy backports, which can be added by as an administrator including the following line in /etc/apt/sources.list:
deb http://http.debian.net/debian wheezy-backports main
How can the latest 4.3 virtualbox-dkms be installed with the latest virtualbox on Wheezy?
Best Answer
You don't need to install
virtualbox-dkms
.You do need to install
dkms
package, which is a part of standard Debian repository.I normally install it before installing VirtualBox, but the order might not matter:
During kernel updates you will see that DKMS updates VirtualBox modules automatically.
https://www.virtualbox.org/wiki/Linux_Downloads: