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:
- Elementary OS Latest installed and updated
- Sudo privileges
- Stable internet connection
Step 1 - Download VirtualBox
To install VirtualBox, we need to download it from the official website. Follow the below steps to download it:
- Open your web browser and go to https://www.virtualbox.org/wiki/Linux_Downloads
- Click on the link for your OS version under "VirtualBox for Linux Hosts" to download the package
- 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:
- Open the terminal by pressing
Ctrl + Alt + T - Update your package list by typing the following command:
sudo apt-get update
- 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:
- Navigate to the Downloads folder by running the following command:
cd ~/Downloads/
- 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.
- After the installation is finished, run the following command to finalize it:
sudo apt-get install -f
- 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.