How to Install VirtualBox on Debian Latest

VirtualBox is a free and open-source virtualization software that allows users to run multiple operating systems on a single computer. This tutorial will guide you through the steps of installing VirtualBox on Debian Latest.

Step 1: Add the VirtualBox Repository

The first thing we need to do is add the VirtualBox repository to our system:

$ sudo sh -c 'echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

Step 2: Download and Import the Oracle GPG Key

To ensure the integrity of the downloaded packages, we need to download and import the Oracle GPG key:

$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Step 3: Update the System

Next, update the system and package list:

$ sudo apt-get update

Step 4: Install VirtualBox

Finally, install the VirtualBox package:

$ sudo apt-get install virtualbox-6.1

Step 5: Verify the Installation

To verify that VirtualBox has been successfully installed, run:

$ virtualbox --version

This should output the version of VirtualBox that has been installed on your system.

Conclusion

Now that you have successfully installed VirtualBox on Debian Latest, you can start using it to create and run virtual machines. If you encounter any issues during the installation process, refer to the VirtualBox documentation for troubleshooting tips.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!