VirtualBox/Other Versions

< VirtualBox


The virtualization platform is an essential component of a secure Whonix system. A vulnerable virtualizer may provide opportunities for attackers to perform a breakout from a virtual machine in order to undo the security by isolation features that Whonix provides. The decision to install an alternative virtualizer should not be taken lightly.

There are two methods that can be used to install VirtualBox and these are recommended over downloading, verifying, and installing binaries manually. The two repositories below are maintained by different teams, Debian and, respectively.

Recommended Version[edit]

Install VirtualBox from Debian Backports[edit]

This is the recommend choice. Documented on page VirtualBox.

Newer Version[edit]

Install from Oracle Repository[edit]

Latest Oracle VirtualBox package information

Warning: This is a foreign source.

Add oracle apt sources list.

(Change stretch to the current name of your stable distribution.)

sudo su -c "echo -e 'deb stretch contrib' > /etc/apt/sources.list.d/oracle.list"

Add Oracle's signing key to apt-get keyring.

sudo apt-key --keyring /etc/apt/trusted.gpg.d/whonix.gpg adv --keyserver hkp:// --recv-keys B9F8D658297AF3EFC18D5CDFA2F683C52980AECF

Update the package lists.

sudo apt-get update

Install VirtualBox.

sudo apt-get install virtualbox-5.2 linux-headers-$(uname -r)

VirtualBox Guest Additions ISO is included in the package. Mount ISO in guest virtual machine to install. Instructions

Comments will be deleted after some time. Specifically after comments have been addressed in form of wiki enhancements. See Wiki Comments Policy.

Add your comment
Whonix welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Random News:

Join us in testing our new AppArmor profiles for improved security! (forum discussion)

https | (forcing) onion

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! See Conditions for Contributions to Whonix, then Edit! IP addresses are scrubbed, but editing over Tor is recommended. Edits are held for moderation.

Whonix is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Libre Software license as Whonix itself. (Why?)

Whonix is provided by ENCRYPTED SUPPORT LP. See Imprint.