In this video, we’ll show you how to install VirtualBox on Ubuntu Linux, using the latest version available. VirtualBox is a powerful, open-source virtualization tool that allows you to run multiple operating systems on a single machine. Whether you’re a developer, a tester, or just want to try out different operating systems, VirtualBox is a must-have for Linux users.
VirtualBox:
https://www.virtualbox.org/wiki/Downloads
---------- Install VirtualBox -------------
wget -q
https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/virtualbox.gpg
echo "deb [arch=amd64]
http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
sudo apt update
sudo apt install virtualbox-x.x
------- Uninstall VirtualBox ---------
sudo apt remove virtualbox-x.x
sudo apt purge virtualbox-x.x
sudo apt autoremove
sudo rm /etc/apt/sources.list.d/virtualbox.list
Note: x.x is the VirtualBox version number.