Linux Uninstall VMWare Server Software

Posted on in Categories , , , , , , last updated March 13, 2009

In some cases I may need to uninstall VMware Server from my Linux system. I’ve VMWare server / Workstation software installed under CentOS / RHEL / Fedora Linux. How do I uninstall VMWare under Linux?

VMware Server (GSX Server) is an entry-level server virtualization software suite. VMWare can be uninstalled using rpm command or special uninstaller script.

VMware Installation Procedure

You can easily uninstall VMWare server software under CentOS / RHEL / Fedora Linux. First, find out VMWare server rpm file name. Type the following command:
# rpm -qf /usr/bin/vmware
OR
# rpm -qa | grep -i vmware
Sample output:

VMware-server-2.0.0-122956

Use the following command to uninstall the RPM:
# rpm -e VMware-server-2.0.0-122956

A note about Build Installation

If you installed VMware without the RPM package, uninstall with the script, enter:
# vmware-uninstall.pl
Above command should work under any Linux distribution.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Share this on (or read 5 comments/add one below):

5 comment

  1. This do NOT remove all vmware files.

    ~# vmware-uninstall.pl
    Uninstalling the tar installation of VMware Server.
    [../..]
    The removal of VMware Server 2.0.1 build-156745 for Linux completed
    successfully. Thank you for having tried this software.
    ~# du -hs /usr/lib/vmware*
    145M /usr/lib/vmware
    41M /usr/lib/vmware-installer
    38M /usr/lib/vmware-vix

    What can I do to trule remove all vmware?

  2. This remove some more files and configurations:

    ~# vmware-installer –list-products
    ====================== ====================
    vmware-workstation 7.0.0.203739
    ~# vmware-installer –uninstall-product vmware-workstation

  3. The perl script is deprecated. But the vmware-installer works fine. Just type vmware-installer and you get a list of options.

    “vmware-installer -l” will list the products so you know what to uninstall.

    Note: the “vmware-installer –uninstall-product” command above should have a double hyphen before the word uninstall. (probably changed by some helpful software)

  4. i was using vnware workstation 4. now it stops working. i have uninstalled the vmware workstation but it is not being done…… it come up with error msi failing……
    now tell me what to do??????? help plzzzzzzzzzzzzz :(

Leave a Comment