0

How to remove VirtualBox on Ubuntu 18?

Asked 3 years ago (Apr 06, 2021) in the field of Operating Systems by Shaan Por

I want to remove VirtualBox and its dependencies from my Ubuntu 18.04 and install the latest version. Please help me.


Answers


0
Answered 3 years ago (Apr 07, 2021) by Eldernode Staff

To remove VirtualBox on Ubuntu 18 with the installed packages, use the apt-get command along with entering the exact version of the VirtualBox that is installed on your system as follows:

sudo apt-get remove --purge virtualbox 

Enter the following commands to delete all the virtual machines directory and its settings:

sudo rm ~/"VirtualBox VMs" -Rf
sudo rm ~/.config/VirtualBox/ -Rf 

After removing the VirtualBox completely, you can install the new or another version you want using the following command:

sudo apt-get install virtualbox 

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day