How to uninstall virtualbox software package from Ubuntu

VirtualBox is a free and open-source virtualization software package that allows you to run multiple operating systems as virtual machines (VMs) on a single physical machine. It is available for Ubuntu and other Linux distributions, as well as Windows, macOS, and other operating systems.

VirtualBox also provides a number of advanced features, such as support for snapshots, shared folders, and virtual networking, which allow you to customize your VMs to meet your needs.

In addition to the VirtualBox software itself, you can also install the VirtualBox Extension Pack, which provides additional features such as support for USB 2.0 and 3.0 devices, Remote Desktop Protocol (RDP) support, and more. To install the Extension Pack, download the appropriate version from the VirtualBox website, and then open VirtualBox and go to File > Preferences > Extensions. Click the “+” button to add the Extension Pack, and follow the prompts to install it.

Uninstall virtualbox package from Ubuntu

You can uninstall virtualbox package from Ubuntu using the below command:

$ sudo apt-get remove virtualbox 

Uninstall virtualbox including dependent package

If you would like to remove virtualbox and it’s dependent packages which are no longer needed from Ubuntu:

$ sudo apt-get remove --auto-remove virtualbox 

Use Purging virtualbox

If you use with purge options to virtualbox package all the configuration and dependent packages will be removed.

$ sudo apt-get purge virtualbox 

If you use purge options along with auto remove, will be removed everything regarding the package, It’s really useful when you want to reinstall again.

$ sudo apt-get purge --auto-remove virtualbox 
Related Post