Linux Uninstall VMWare Server Software

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.

ADVERTISEMENTS

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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
5 comments… add one
  • Mr. VMWare Nov 23, 2009 @ 10:09

    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?

  • Mr. VMWare Nov 23, 2009 @ 10:13

    This remove some more files and configurations:

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

  • ajoy May 31, 2010 @ 19:32

    thanks man..it works

  • backlinks Jul 16, 2010 @ 22:26

    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)

  • hina Apr 24, 2011 @ 13:59

    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 Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.