Virtual Machines are software used to run other operating systems within a pre-installed operating system. This self-contained OS runs as a separate computer that has no relation to the host OS. VirtualBox is an open-source cross-platform software that can help you run multiple guest operating systems on a single computer. In this article, let’s look at how to install VirtualBox 6.1 on Linux, easily.
Why Install VirtualBox?
One of the most important use cases of VirtualBox is its ability to try out/test various operating systems without fiddling with your internal storage. VirtualBox creates a virtual environment that utilizes system resources like RAM and CPU to power the OS inside a container.
For example, if I want to try out and check if the latest Ubuntu release is stable or not, I can use VirtualBox to do it and only then decide if I want to install it or just totally use it in VirtualBox. This not only saves me a lot of time but also makes the process flexible.

How To Install VirtualBox 6.1 On Ubuntu/Debian/Linux Mint?
If you already have an older version of VirtualBox installed, remove it first. Fire up the terminal and type the following command:
To install VirtualBox onUbuntu/Ubuntu-based, Debian, Linux Mintdistributions, head over to theofficial VirtualBox download page.

Download the appropriate VirtualBox .deb file by clicking on the links.
After the download’s complete, click on the .deb file and the software installer will install VirtualBox for you.
Also Read:Linux Windows Dual Boot and More: Multi-booting Up to Five OS
Starting VirtualBox 6.2 In Ubuntu/Debian/Linux Mint
Head over to the applications menu, find “Oracle VM VirtualBox” and click on it to open.
How To Install VirtualBox 6.1 On Linux: Fedora/RHEL/CentOS?
Before installing Virtual Box 6.1, uninstall any older version of VirtualBox from your system. Use the following command:
To install VirtualBox 6.1, you need to add the VirtualBox 6.1 repo to your system.
Adding The VirtualBox 6.1 Repository In RHEL/CentOS:
Adding The VirtualBox 6.1 Repository In Fedora
Also Read:How To Use Linux In Windows Using VirtualBox
Enabling the EPEL Repo And Installing Tools And Dependencies
On RHEL 8/CentOS
On RHEL 7/CentOS
On RHEL 6/CentOS
Installing VirtualBox 6.1 On Linux: Fedora/RHEL/CentOS
After adding the needed repos and installing the dependency packages, now it’s time to hit the install command:
Did you find this tutorial helpful? Let us know in the comments below. Also, feel free to ask if you faced any difficulty.