VirtualBox/Other Versions

From Whonix

< 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 Unstable[edit]

This is no longer recommended at this time. [1]

Newer Version[edit]

Install from Oracle Repository[edit]

Latest Oracle VirtualBox package information [archive]

Warning: This is a foreign source.

Add oracle apt sources list.

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

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

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

Securely download the key.

curl --tlsv1.2 --proto =https --location --remote-name-all --remote-header-name

Display the key's fingerprint.

gpg --keyid-format long --import --import-options show-only --with-fingerprint oracle_vbox_2016.asc

Verify the fingerprint. Should show.

pub rsa4096/A2F683C52980AECF 2016-04-22 [SC]
Key fingerprint = B9F8 D658 297A F3EF C18D 5CDF A2F6 83C5 2980 AECF
uid Oracle Corporation (VirtualBox archive signing key) <>
sub rsa4096/AD18C79D920E471F 2016-04-22 [E]

Ambox warning pn.svg.png Warning:

Do not continue if the fingerprint does not match! This risks using infected or erroneous files! The whole point of verification is to confirm file integrity.

Add the signing key.

sudo apt-key --keyring /etc/apt/trusted.gpg.d/oracle.gpg add oracle_vbox_2016.asc

Update the package lists.

sudo apt-get update

Install VirtualBox and Linux Kernel Headers, which are a dependency.

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

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

Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate whonix.png

Share: Twitter | Facebook

We are looking for video makers to help create demonstration, promotional and conceptual videos or tutorials.

https link onion link

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.

  1. Dependencies such as for package glibc are to new. Too many updated dependencies from Debian unstable are pulled and mixed with Debian stable. This can cause many issues such as system instability.