VirtualBox is a powerful and cross-platform virtualization software which allows you to run multiple operating systems on a single machine. In this tutorial, you will learn how to install VirtualBox on POP! OS Latest.
Before you start the installation process, make sure you have the following prerequisites:
First, open your web browser and navigate to the Oracle VirtualBox download page at https://www.virtualbox.org/wiki/Linux_Downloads
. Here, you will see the latest version of VirtualBox available for download. Click on the AMD64 link to download the VirtualBox package.
Once the VirtualBox package is downloaded, open the terminal by pressing Ctrl+Alt+T and run the following command to install the required dependencies:
sudo apt-get install dkms build-essential linux-headers-$(uname -r)
This command will install DKMS, build-essential and the latest Linux kernel headers. These packages are required to compile and install the VirtualBox kernel modules.
After installing the required dependencies, navigate to the directory where the VirtualBox package was downloaded. Alternatively, you can also open the terminal and run the following command to go to the Downloads directory:
cd ~/Downloads/
Now, run the following command to install VirtualBox:
sudo dpkg -i virtualbox-<version>-amd64.deb
Note: Replace <version>
with the actual version number of the VirtualBox package that you downloaded.
The installation process may take some time depending on your system hardware and the version of VirtualBox you downloaded.
Once the installation is completed, run the following command to verify that the VirtualBox kernel modules are loaded:
sudo modprobe vboxdrv
If you do not see any error messages, it means that the modules have been loaded successfully.
Finally, launch VirtualBox by clicking on the Activities button located on the top left corner of your screen, and searching for VirtualBox in the search bar.
Congratulations! You have successfully installed VirtualBox on POP! OS Latest!
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!