in

How to uninstall Virtualbox from Ubuntu Completely

How to uninstall Virtualbox from Ubuntu

Here is How to Uninstall Virtualbox from Ubuntu Completely with the step by step instructions provided below. So there are many ways to remove Virtualbox from your linux computer but the best ways are provided below.

How To Uninstall Virtualbox from Ubuntu?

To check if the virtualbox is already installed then check the version of the Virtualbox with the following commands:

sudo apt install aptitude
aptitude search virtualbox\*

If the latest version virtualbox-5.1. is installed in your computer then check the version by

dpkg-query -s virtualbox-5.1    

To remove it completely use this command

sudo apt remove VirtualBox-5.1  

Another Method to uninstall Virtualbox from Ubuntu

The problem is Virtual Box keeps its folder and settings in your home folder. You you have to delete everything inside the folder.

First uninstall VirtualBox

sudo apt-get remove --purge virtualbox 

Run these commands to delete all virtual machines and settings and Virtual Hard Drives:

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

Run this command If you want to install it again

sudo apt-get install virtualbox

Additionally, check:

sudo ps aux | grep -i "vbox"

Kill any “ghost” processes you may think are relevant.

sudo pkill VBox*

Read also:

Leave a Reply

Your email address will not be published. Required fields are marked *

Device or Resource Busy

“Device or Resource Busy” How to Get Over It? [Solution]

Permission Denied While Running Shell Script [Complete Solution]