

Note that this will not remove the virtual machines and the files associated with the operating systems you installed using VirtualBox. You just have to find it in the list of installed applications and click the Remove button.Īnother ways is to use the command line. If you installed it from the Software Center, the easiest way to remove the application is from the Software Center itself. Now that you’ve learned to install VirtualBox, I should also mention the steps for removing it. sudo apt update & sudo apt install virtualbox-6.0 Now that you have the correct repository added, refresh the list of packages available through these repositories and install VirtualBox. Note: If you see an add-apt-repository command not found error, you’ll have to install the software-properties-common package. If you’ve read my article on checking your Ubuntu version, you probably know that ‘lsb_release -cs’ will print the codename of your Ubuntu system. Now add the Oracle VirtualBox repository to the list of repositories using this command: sudo add-apt-repository "deb $(lsb_release -cs) contrib" Sudo add-apt-repository “deb bionic contrib“

For example, Linux Mint 19 series users should use bionic and Mint 18 series users should use xenial. If you’re using Linux Mint or some other distribution based on Ubuntu, replace $(lsb_release -cs) in the command with the Ubuntu version your current version is based on.
