Debian

How to Install VirtualBox 7 on Debian 11

VirtualBox 7 is a major update after VirtualBox 6. It comes with a lot of new features and bug fixes.

Some of the new features of VirtualBox 7 are:

  • Full virtual machine encryption: fully encrypted including the VM config logs and saved states.
  • Virtual TPM support: Added support for virtual TPM 1.2 and 2.0 devices.
  • Secure boot support: Added support for EFI secure boot for the virtual machines.
  • Better 3D Support for Virtual Machines: Added support for DirectX 11 on Windows virtual machines. On non-Windows (i.e. Linux) virtual machines, DXVK is used instead for providing better 3D support.
  • Improved Screen Resizing of VMs: Improved screen resizing capabilities for Linux VMs (with Linux Guest Additions installed).
  • Better virtual machine creation wizard: Reworked the new VM creation wizard. Improved the UI and integrated unattended guest OS installation options in the UI.
  • Better Audio format for audio recording: Used Vorbis as the default audio format instead of Opus (previously used) for WebM containers while recording the screen of the VM.
  • Auto select best audio driver: Depending on the host operating system VirtualBox 7 is running on, if the default audio driver is selected for a VM, the best performing audio driver is used for the VMs.

VirtualBox 7 comes with a lot newer features than explained above. For a full list of new features and bug fixes, check out the Official VirtualBox 7 Changelog page.

In this article, I am going to show you how to install VirtualBox 7 on Debian 11 Bullseye.

Table of Contents:

  1. Downloading VirtualBox 7 for Debian 11
  2. Preparing Debian 11 for Installing VirtualBox 7
  3. Installing VirtualBox 7 on Debian 11
  4. Opening VirtualBox 7 on Debian 11
  5. What’s Next?
  6. Conclusion

Downloading VirtualBox 7 for Debian 11

To download VirtualBox 7 for Debian 11, open your favorite web browser and visit Downloads – Oracle VM VirtualBox.

Once the page loads, click on Linux distributions from the VirtualBox 7.x.y platform packages section.

From the VirtualBox 7.x.y for Linux section, click on Debian 11.

Your browser should start downloading VirtualBox 7 DEB package file. It will take a few seconds to complete.

At this point, VirtualBox 7 DEB package file should be downloaded.

Preparing Debian 11 for Installing VirtualBox 7

To make sure that VirtualBox 7 dependencies are found and installed, update the APT package repository cache of Debian 11 as follows:

$ sudo apt update

The APT package repository cache should be updated.

Installing VirtualBox 7 on Debian 11

The VirtualBox 7 DEB package file should be saved in the ~/Downloads directory. So, navigate to the ~/Downloads directory as follows:

$ cd ~/Downloads

VirtualBox 7 DEB file virtualbox-7.0_7.0.4-154605~Debian~bullseye_amd64.deb should be here.

$ ls -lh

You can install the VirtualBox 7 package file virtualbox-7.0_7.0.4-154605~Debian~bullseye_amd64.deb as follows:

$ sudo apt install ./virtualbox-7.0_7.0.4-154605~Debian~bullseye_amd64.deb

To confirm the installation, press Y and then press <Enter>.

VirtualBox 7 dependency packages are being downloaded. It will take a while to complete.

VirtualBox 7 and VirtualBox 7 dependency packages are being installed. It will take a while to complete.

VirtualBox 7 and the required dependency packages should be installed at this point.

Opening VirtualBox 7 on Debian 11

To open VirtualBox 7, search with the keyword virtualbox in the Application Menu of Debian 11 and click on the VirtualBox icon.

VirtualBox 7 should be opened.

To check the version of VirtualBox you’re running, you can click on Help > About VirtualBox.

You should be running VirtualBox 7 as you can see in the screenshot below.

What’s Next?

Once you’ve installed VirtualBox 7 on Debian 11, I recommend you install the VirtualBox Extension Pack on VirtualBox 7. For more information on VirtualBox Extension Pack and how to install it on VirtualBox 7, read the article How to Install VirtualBox Extension Pack on VirtualBox 7.

Conclusion

In this article, I have shown you how to download VirtualBox 7 for Debian 11 and install VirtualBox 7 on Debian 11.

About the author

Shahriar Shovon

Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.