Uninstall VMware Workstation Linux: Remove All Files 2026

When you need to remove virtualization software from your Linux system, knowing how to properly uninstall VMware Workstation Linux distributions is essential. Whether you are switching to an alternative platform like VirtualBox or KVM, troubleshooting persistent software conflicts, or simply freeing up system resources, a complete removal ensures your system remains clean and functional. This comprehensive guide covers every step required to remove VMware Workstation completely, including kernel module unloading, configuration file cleanup, and distribution-specific instructions for Ubuntu, Fedora, RHEL, and Debian systems.

Unlike Windows, where the uninstallation process is largely automated through the Control Panel or Settings app, Linux requires manual intervention to fully remove all VMware components. The application files, user configurations, system-wide settings, and loaded kernel modules must all be addressed individually for a thorough cleanup. This article provides detailed commands and explanations to help you achieve a complete uninstallation every time.

Key Takeaways

  • Use the VMware bundle installer uninstaller command: sudo vmware-installer -u vmware-workstation
  • Unload kernel modules manually using rmmod for vmnet, vmmon, vmci, vmblock, and vmppuser
  • Remove configuration files from /etc/vmware/ and ~/.vmware/ directories
  • Use distribution-specific package managers (dnf, apt, rpm) for systems like Fedora and RHEL
  • Verify complete removal with lsmod | grep vm to confirm no VMware modules remain
  • Uninstall VMware Tools separately using sudo vmware-uninstall-tools.pl within each virtual machine

Why Remove VMware Workstation Completely?

Incomplete removal of VMware Workstation from Linux can lead to several system issues that may not become apparent until you install alternative virtualization software or perform a system update. Understanding these potential problems highlights why a thorough uninstallation process matters.

  1. System conflicts: Residual VMware kernel modules can conflict with other virtualization platforms. If you install VirtualBox or QEMU/KVM afterward, these lingering modules may cause initialization failures or unpredictable behavior.
  2. Storage waste: VMware Workstation and its associated components typically consume several gigabytes of space when you factor in application binaries, libraries, kernel modules, and configuration files. Removing it frees up valuable disk space for other applications.
  3. Security vulnerabilities: Outdated software components left on your system may contain security vulnerabilities. If you are not actively using VMware, keeping it installed means maintaining unnecessary attack surface.
  4. Performance overhead: Loaded kernel modules consume system resources even when the application is not running. Removing these modules reduces memory usage and eliminates unnecessary background processes.

A complete uninstallation ensures your Linux system remains optimized, secure, and ready for whatever virtualization solution you choose to deploy next.

How to Uninstall VMware Completely from Linux?

The uninstallation process follows a consistent pattern across most Linux distributions, though some steps vary depending on whether you are using a Debian-based system like Ubuntu or a Red Hat-based system like Fedora. Here is the general approach:

  1. Close all running VMware applications: Ensure VMware Workstation is fully closed and no virtual machines are running. Check the system tray and process list to confirm.
  2. Stop all VMware services: Execute sudo vmware-networks –stop and sudo vmware-workstation-server –stop to halt background services before removal.
  3. Open a terminal: The command line is required for a complete uninstallation. Access your terminal application with Ctrl+Alt+T or through your desktop environment.
  4. Run the VMware uninstaller: Execute sudo vmware-installer -u vmware-workstation to initiate the removal process.
  5. Respond to configuration prompts: The installer will ask whether you want to preserve configuration files. Select “No” to ensure complete removal.
  6. Authenticate when prompted: Enter your administrator password to authorize the uninstallation.
  7. Wait for completion: The uninstaller removes application binaries, libraries, and service scripts. This process typically takes a few minutes.

Remove VMware Workstation from Ubuntu: Step-by-Step

Ubuntu and other Debian-based distributions use the same VMware bundle installer as other Linux flavors, but the ecosystem supports both command-line and graphical removal methods. The command-line approach is recommended for complete cleanup.

Command-Line Method (Recommended)

  1. Open a terminal using Ctrl+Alt+T or by searching for “Terminal” in your application launcher.
  2. Execute the VMware Workstation uninstaller:
    sudo vmware-installer -u vmware-workstation
  3. Follow the on-screen prompts and confirm when asked about removing configuration files.
  4. After completion, proceed to the kernel module removal and configuration cleanup sections below.

GUI Method

  1. Open the Ubuntu Software Center or GNOME Software.
  2. Search for “VMware Workstation” in the installed applications list.
  3. Click on VMware Workstation entry and select “Remove.”
  4. Authenticate with your administrator password when prompted.
  5. Note that the GUI method may not remove all configuration files. Follow up with manual cleanup commands.

The Software Center removal method leaves residual configuration files that can interfere with future installations. Always supplement this with the manual configuration cleanup described later in this article.

Remove VMware Workstation from Fedora and RHEL

Fedora, Red Hat Enterprise Linux, and CentOS use RPM packages for software management. While VMware Workstation typically installs via the bundle installer rather than native packages, these distributions require additional steps to ensure complete removal.

  1. First, run the standard VMware uninstaller:
    sudo vmware-installer -u vmware-workstation
  2. For systems where VMware was installed via RPM, check for remaining packages:
    rpm -qa | grep -i vmware
  3. Remove any VMware RPM packages manually:
    sudo rpm –erase –nodeps vmware-workstation
  4. Clean up any remaining dependencies:
    sudo dnf autoremove
  5. Remove configuration files using the commands in the section below.

On RHEL and Fedora systems running systemd, you should also disable and remove any VMware service files that may persist after uninstallation.

Remove VMware Workstation from Debian

Debian and Debian-based distributions like Linux Mint follow a similar pattern to Ubuntu but with slightly different package management tooling. Here are the specific steps for Debian systems:

  1. Run the standard VMware bundle uninstaller:
    sudo vmware-installer -u vmware-workstation
  2. Remove any VMware packages that may have been installed via dpkg:
    dpkg -l | grep -i vmware
  3. Purge any remaining VMware packages:
    sudo apt-get purge –auto-remove vmware-workstation
  4. Clean up the local repository cache:
    sudo apt-get clean

After completing the distribution-specific steps, continue with the kernel module removal and configuration cleanup procedures outlined below to ensure no residual components remain.

How to Delete VMware Workstation Configuration Files?

Removing the VMware application itself is only part of the process. Configuration files, cached data, and most importantly, loaded kernel modules must be addressed separately to achieve a complete uninstallation. This section covers each component in detail.

Unload VMware Kernel Modules

Before removing any configuration files, you must unload the VMware kernel modules that are currently loaded in memory. These modules enable VMware to interface with the Linux kernel for virtualization. Failure to unload them before removal can cause system instability or error messages during future kernel updates.

Execute the following commands in sequence to unload all VMware kernel modules:

sudo rmmod vmnet

sudo rmmod vmmon

sudo rmmod vmci

sudo rmmod vmblock

sudo rmmod vmppuser

These commands remove the networking (vmnet), monitor (vmmon), communication interface (vmci), file system blocker (vmblock), and user-level paravirtualization (vmppuser) modules. If any module is not currently loaded, the rmmod command will return an error indicating the module is not found, which is expected behavior.

Remove System-Wide Configuration Files

After unloading the kernel modules, remove the system-wide configuration directory:

sudo rm -rf /etc/vmware/

This directory contains installation records, network configuration, license keys, and other system-level settings that persist across updates and reinstallation.

Remove User-Specific Configuration Files

Each user account that has run VMware Workstation has a personal configuration directory. Remove these files to clean up user-specific settings:

rm -rf ~/.vmware/

If multiple users have used VMware on the same system, repeat this command for each user account, replacing ~/.vmware/ with the appropriate home directory path.

Clean Up Init Scripts and Services

VMware installs service scripts in the system initialization directories. On systems using traditional SysVinit, check /etc/init.d/ for any remaining VMware scripts:

sudo rm -f /etc/init.d/vmware*

sudo rm -f /etc/rc*.d/*vmware*

On systemd-based systems (most modern Linux distributions), also remove any lingering service files:

sudo systemctl stop vmware 2>/dev/null
sudo systemctl disable vmware 2>/dev/null
sudo rm -f /lib/systemd/system/vmware*

Remove Kernel Module Files

The physical kernel module files stored in /lib/modules/ must also be removed. Identify your current kernel version and remove the VMware modules:

sudo rm -rf /lib/modules/$(uname -r)/misc/vm*.ko

sudo depmod -a

The depmod command updates the module dependency database to reflect the removal of these kernel objects.

Verify Complete Removal

After completing all removal steps, verify that no VMware components remain loaded or present on the system:

lsmod | grep vm

If this command returns no output, all VMware kernel modules have been successfully unloaded. Additionally, verify that configuration directories have been removed:

ls -la /etc/vmware/ 2>/dev/null && echo “Configuration files remain” || echo “Configuration files removed”

ls -la ~/.vmware/ 2>/dev/null && echo “User configuration files remain” || echo “User configuration files removed”

VMware Tools Uninstall Linux: Separate Process

VMware Tools is a separate component installed within virtual machines, not on the host system. It provides drivers and utilities that improve performance and enable features like shared folders and clipboard synchronization between the host and guest systems. Removing VMware Workstation does not automatically remove VMware Tools from any virtual machines.

To uninstall VMware Tools from a Linux virtual machine:

  1. Boot the virtual machine and log in to the guest Linux system.
  2. Open a terminal within the virtual machine.
  3. Navigate to the VMware Tools binary directory:
    cd /usr/bin
  4. Execute the VMware Tools uninstaller:
    sudo ./vmware-uninstall-tools.pl
  5. Follow the prompts to complete the uninstallation.
  6. Remove any remaining configuration files:
    sudo rm -rf /etc/vmware-tools/

You must repeat this process for each virtual machine where VMware Tools has been installed. The uninstaller is specific to each guest operating system and cannot be run from the host.

Common Problems When Removing VMware Workstation

Even with careful following of the uninstallation steps, you may encounter issues. Here are solutions to the most frequently encountered problems.

Permission Denied Errors

If you receive permission denied errors during uninstallation, verify that you are using sudo for commands requiring root privileges. If permission issues persist on specific files or directories, check the ownership:

sudo chown -R $USER:$USER /path/to/vmware/files

This command recursively changes ownership of the specified path to your user account, allowing removal.

Uninstaller Not Found

If the vmware-installer command is not found after uninstallation appears to complete, VMware may have already been removed or the installer path is not in your PATH environment variable. Try navigating directly to the binary location:

cd /usr/bin
sudo ./vmware-installer -u vmware-workstation

Alternatively, locate the installer anywhere on the system:
sudo find / -name vmware-installer -type f

Dependency Conflicts

Some systems may report that other packages depend on VMware components. On Debian-based systems:

sudo apt-get remove –auto-remove vmware-workstation

On Fedora and RHEL systems:

sudo dnf remove vmware-workstation

Use the –nodeps flag sparingly and only when you are certain no other critical packages depend on VMware components:

sudo rpm –erase –nodeps vmware-workstation

Incomplete Uninstallation

If VMware appears to remain on the system after following all removal steps, perform a thorough search and deletion of all remaining files:

sudo find / -name “*vmware*” -type f 2>/dev/null | head -50

Review the output carefully before deleting anything to avoid removing unrelated files that may have “vmware” in their names for legitimate reasons. Then remove identified files:

sudo find / -name “*vmware*” -type f -delete 2>/dev/null

sudo find / -name “*vmware*” -type d -exec rm -rf {} + 2>/dev/null

Be extremely cautious with these commands, as they will permanently delete any file or directory containing “vmware” in its name. Always verify the findings before executing the deletion.

Frequently Asked Questions

How do I completely remove VMware Workstation from Linux?

To completely remove VMware Workstation from Linux, first run the uninstaller with sudo vmware-installer -u vmware-workstation. Then manually unload kernel modules with sudo rmmod vmnet vmmon vmci vmblock vmppuser. Remove configuration files using sudo rm -rf /etc/vmware/ and rm -rf ~/.vmware/. Finally, remove kernel module files from /lib/modules/$(uname -r)/misc/vm*.ko and verify with lsmod | grep vm.

What’s the difference between removing VMware Workstation and VMware Tools?

VMware Workstation is the main virtualization application installed on your host system, while VMware Tools is a suite of utilities installed within each virtual machine to improve performance and enable features like shared folders and clipboard synchronization. When you remove VMware Workstation from Linux, you’re uninstalling the host application. To remove VMware Tools, you need to run the uninstaller within each virtual machine where it’s installed using the command sudo ./vmware-uninstall-tools.pl from the guest system.

Why won’t VMware uninstall completely from my system?

VMware might not uninstall completely due to several reasons: permission issues, running processes that lock files, corrupted uninstaller scripts, or dependency conflicts with other software. To resolve these issues, ensure all VMware processes are stopped before uninstallation, use sudo for administrative privileges, manually remove remaining files and directories, and check for dependency conflicts using your distribution’s package manager. A system reboot before attempting uninstallation can also help resolve locked file issues.

Do I need to remove kernel modules after uninstalling VMware?

Yes, removing VMware kernel modules after uninstalling VMware Workstation is strongly recommended. These modules (vmmon, vmnet, vmci, vmblock, and vmppuser) can remain loaded in memory even after the main application is removed. They may cause conflicts with other virtualization software like VirtualBox or KVM, and could cause errors during future kernel updates. Use the rmmod command for each module and verify removal with lsmod | grep vm.

Can I reinstall VMware after removing it?

Yes, you can reinstall VMware Workstation after removing it from your system. Completely removing the old version before installing a new one is actually recommended when upgrading or troubleshooting persistent issues. After following the uninstallation steps in this guide, simply download the latest version from VMware’s official website, make the installer executable, and run it. The installation process will create fresh configuration files and set up all necessary components.

How do I remove VMware configuration files?

VMware configuration files are stored in /etc/vmware/ (system-wide settings) and ~/.vmware/ (user-specific settings). To remove them, use the commands sudo rm -rf /etc/vmware/ and rm -rf ~/.vmware/ respectively. These files contain your settings, preferences, license information, and network configurations that are not always removed during standard uninstallation. Removing them ensures no residual configuration affects future installations.

Will uninstalling VMware affect my virtual machines?

Uninstalling VMware Workstation from your host system will not delete your virtual machine files. However, you will not be able to run those virtual machines until you reinstall VMware Workstation or migrate them to another virtualization platform. Virtual machine files are stored as individual files on your hard drive, typically in directories like ~/Virtual Machines/ or ~/Documents/Virtual Machines/. To use them again, reinstall VMware or convert them to a format compatible with VirtualBox, QEMU, or KVM.

Conclusion

Properly uninstalling VMware Workstation from Linux requires attention to multiple components: the main application, kernel modules, configuration files, user settings, and service scripts. By following this guide, you ensure a complete removal that leaves your system clean and ready for alternative virtualization solutions.

Remember the essential steps: run the bundle uninstaller, manually unload kernel modules using rmmod commands for vmnet, vmmon, vmci, vmblock, and vmppuser, remove all configuration directories, and verify the cleanup with lsmod | grep vm. Distribution-specific steps for Fedora, RHEL, and Debian ensure that package managers are properly synchronized after removal.

Whether you are freeing up system resources, resolving software conflicts, or switching to a different virtualization platform, a thorough uninstallation prevents future problems and keeps your Linux system running smoothly. If you encounter any issues during the process, the troubleshooting section provides solutions for the most common obstacles users face when removing VMware Workstation from Linux.

inessley Avatar