Removing Open VM Tools and VirtualBox Components from Lubuntu (Linux) Guest

After moving a Lubuntu virtual machine from VirtualBox to VMware Workstation and installing VMware Tools, I needed to clean out an old installation of Open-VM-Tools (OVT) and VirtualBox Guest Additions. Here are the steps I followed:

List installed dkms packages:

dkms status

Remove open-vm-tools and vboxguest that were listed by the previous command (note that you'll need to provide the corresponding version numbers):

sudo dkms remove open-vm-tools/9.10.2 --all
sudo dkms remove vboxguest/5.0.2 --all

List openbox related tools (note that this will list anything with 'open' in the title, you only want open-vm related items):

dpkg --get-selections | grep -v deinstall | grep -i open

Remove open-vm-tools:

sudo apt-get remove open-vm-tools-dkms

About Jeff Fitzsimons

Jeff Fitzsimons is a software engineer in the California Bay Area. Technical specialties include C++, Win32, and multithreading. Personal interests include rock climbing, cycling, motorcycles, and photography.
This entry was posted in Linux, Technology. Bookmark the permalink.

Leave a Reply

Your email address will not be published.