To uninstall virtualbox-dkms just follow these instructions.
sudo apt-get remove virtualbox-dkms
This will remove just the virtualbox-dkms package itself.
sudo apt-get remove --auto-remove virtualbox-dkms
This will remove the virtualbox-dkms package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for virtualbox-dkms then this will work.
sudo apt-get purge virtualbox-dkms
Or similarly, like this virtualbox-dkms
sudo apt-get purge --auto-remove virtualbox-dkms
Package | virtualbox-dkms |
Version | 4.3.36-dfsg-1+deb8u1 |
Maintainer | Debian Virtualbox Team <[email protected]> |
Home page | http://www.virtualbox.org/ |
Description | x86 virtualization solution – kernel module sources for dkms |
Distro | debian |
Release | jessie |
Repo | contrib |
Section | contrib/kernel |