How to Install VirtualBox on Elementary OS Latest

Introduction

In this tutorial, we will go through the steps to install VirtualBox on Elementary OS Latest. VirtualBox is an open source software that allows users to run multiple operating systems on a single machine. It is an essential software for those who want to test new software, run multiple OS on a single machine, or want to explore new operating systems.

Prerequisites

Before starting the installation, make sure you have the following:

Step 1 - Download VirtualBox

To install VirtualBox, we need to download it from the official website. Follow the below steps to download it:

  1. Open your web browser and go to https://www.virtualbox.org/wiki/Linux_Downloads
  2. Click on the link for your OS version under "VirtualBox for Linux Hosts" to download the package
  3. Once the file is downloaded, go to the Downloads folder

Step 2 - Install Dependencies

VirtualBox needs some dependencies to work properly. Let's install all the necessary packages:

  1. Open the terminal by pressing Ctrl + Alt + T
  2. Update your package list by typing the following command:

sudo apt-get update

  1. Install all the necessary packages by running the following command:

sudo apt-get install gcc make perl

Step 3 - Install VirtualBox

Now that we have the downloaded package and installed dependencies let's install VirtualBox:

  1. Navigate to the Downloads folder by running the following command:

cd ~/Downloads/

  1. Now install the package by running the following command:

sudo dpkg -i virtualbox-6.1_6.1.26-145957~Ubuntu~eoan_amd64.deb

Note: Replace "virtualbox-6.1_6.1.26-145957Ubuntueoan_amd64.deb" with the name of the package you have downloaded.

  1. After the installation is finished, run the following command to finalize it:

sudo apt-get install -f

  1. Once the installation is completed, verify it by running the following command:

sudo service virtualbox status

Congratulations! you have successfully installed VirtualBox on your Elementary OS Latest.

Conclusion

In this tutorial, you have learned how to install VirtualBox on Elementary OS Latest. VirtualBox is an essential software for users who want to run virtual machines on a single machine. It is an efficient and stable software to run multiple operating systems on your machine.

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!