Manually uninstalling VMware Workstation from Linux hosts
This article provides steps for manually removing VMware Workstation when the uninstaller script or RPM package fails to remove the product automatically.
Note: Log on to the host to the root account to execute the Terminal commands in this article. If running Ubuntu, the root account is not available by default. Prepend all commands with
sudoor switch to the root using the command:
sudo su -
Warning: This command provides unrestricted access to the operating system. It is possible to cause damage the system when using this access level.
- Open a command prompt. For more information, see Opening a command or shell prompt (1003892). Type the commands as indicated in the following steps.
- Shutdown all VMware applications and services.
- Verify that all processes have stopped:
Note: A zero must be listed beside VMware related modules to indicate that they are no longer running.
lsmod | grep vm
- Move the VMware libraries to the
mv vm* /tmp
Note: If the kernel has ever been updated you must check and move the files from multiple paths. Substitute the kernel version where indicated above.
- Unload the kernel modules:
- Remove the VMware startup scripts:
RedHat and Most Distributions
Note: If you are using a different Linux distribution, substitute the correct path in above commands.
- Remove the remaining VMware files and directories:
rm -rf /etc/vmware*
rm -r /usr/lib/vmware*
rm -r /usr/share/doc/vmware*
- If an RPM package was used to install the VMware product, complete these steps to delete the RPM database entry:
A list of VMware packages is presented. Copy the exact package name for the next step and paste it into the command where indicated.
rpm -qa | grep VMware
- Remove the VMware packages:
rpm --erase --nodeps <VMware_Package_Name>
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.