Shell/Bash: remove virtualbox from ubuntu Example


Shell/Bash Example: This is the "remove virtualbox from ubuntu" Example. compiled from many sources on the internet by

remove virtualbox from ubuntu

#Uninstall VirtualBox first.

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
#If you want to install it again. Run this command:

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*

* Summary: This "remove virtualbox from ubuntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!