Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

It is possible to install the latest virtualbox and extension pack on Wheezy using the following:

# su sh -c 'echo "deb wheezy contrib" >> /etc/apt/sources.list
# wget -q -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 wheezy-backports main

How can the latest 4.3 virtualbox-dkms be installed with the latest virtualbox on Wheezy?

share|improve this question

1 Answer 1

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:

$ sudo aptitude install dkms
$ sudo aptitude install virtualbox-4.3

During kernel updates you will see that DKMS updates VirtualBox modules automatically.

Note: Ubuntu/Debian users might want to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. For Debian it is available in Lenny backports and in the normal repository for Squeeze and later.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.