VirtualBox is an open-source virtualization software that allows you to run multiple operating systems on a single hardware. It can be helpful for testing and development purposes. This tutorial will guide you through the steps on how to install VirtualBox on Ubuntu Server Latest.
Before you start with the installation process, make sure to have the following:
VirtualBox provides a repository for Ubuntu, which makes it easier to install and maintain updates. To add the repository, follow these steps:
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
sudo apt-get update
Now that you have added the VirtualBox repository, you can proceed with the installation. Run the following command:
sudo apt-get install -y virtualbox-6.1
This command will install VirtualBox version 6.1. You can replace "6.1" with any other version that you want to install.
Once the installation is complete, you can check whether VirtualBox is installed successfully or not. Enter the following command:
vboxmanage --version
You should see the VirtualBox version number in the output. This means that VirtualBox is installed successfully.
In this tutorial, we have shown you how to install VirtualBox on Ubuntu Server Latest. Now you can start using VirtualBox to create and manage virtual machines on your server.
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!