{"id":47699,"date":"2024-12-11T11:52:21","date_gmt":"2024-12-11T11:52:21","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=47699"},"modified":"2024-12-11T12:11:57","modified_gmt":"2024-12-11T12:11:57","slug":"how-to-remove-vmware-workstation-pro-player-in-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/12\/how-to-remove-vmware-workstation-pro-player-in-ubuntu\/","title":{"rendered":"How to Remove the Old VMWare Workstation Player in Ubuntu"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-46221\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo-700x700.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/04\/vmware-player-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This tutorial shows you how to completely remove the old VMWare Workstation player in Ubuntu 24.04 and Linux Mint 22.<\/p>\n<p>I was trying to install the new VMWare Workstation Pro 17.6.1 today in my Ubuntu laptop. The official installer however told me to uninstall the old VMWare Player 17.5.0.0 first.<\/p>\n<p>The problem was that <code>wmware-installer<\/code> somehow refused to uninstall the previous package, so I can&#8217;t get the new one installed! If you ran into similar issue, then this tutorial may help.<\/p>\n<p><!--more--><\/p>\n<div id=\"attachment_47702\" style=\"width: 620px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-176.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-47702\" class=\"size-large wp-image-47702\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-176-700x508.webp\" alt=\"\" width=\"610\" height=\"443\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-176-700x508.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-176-300x218.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-176-768x557.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-176.webp 984w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><p id=\"caption-attachment-47702\" class=\"wp-caption-text\">vmware player discontinued<\/p><\/div>\n<h3>Option 1: Using the official vmware-installer command to uninstall:<\/h3>\n<p>The software has an official tool <code>vmware-installer<\/code>, allowing to list and uninstall vmware products and components.<\/p>\n<p>It&#8217;s installed along with vmware hypervisor software. And, you&#8217;d better to try it first to uninstall the software from your system.<\/p>\n<p><b>1. Uninstall products:<\/b><\/p>\n<ul>\n<li>First, open terminal (Ctrl+Alt+T) and list all installed products by running command:\n<pre>vmware-installer --list-products<\/pre>\n<\/li>\n<li>Then, run command to uninstall, but replace <code>vmware-player<\/code> according to the product name you got in last command:\n<pre>sudo vmware-installer -u vmware-player<\/pre>\n<p>It will ask to either keep configuration files or not twice. And, I answered no.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/uninstall-vmwareplayer.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47700\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/uninstall-vmwareplayer-700x388.webp\" alt=\"\" width=\"610\" height=\"338\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/uninstall-vmwareplayer-700x388.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/uninstall-vmwareplayer-300x166.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/uninstall-vmwareplayer.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>The command above may fail! It output text below and refused to uninstall, though I didn&#8217;t have any running VM at that time.<\/p>\n<blockquote><p><i>The VMware Installer cannot continue if there are running virtual machines. Shut down or suspend running virtual machines before continuing.<\/i><\/p><\/blockquote>\n<p>If you got the similar issue, try removing the startup scripts (see Option 2) then reboot which worked for me.<\/p>\n<p><b>2. Uninstall components<\/b><\/p>\n<p>To completely get rid of the software, you may also remove the network editor, installer itself, and other vmware tools.<\/p>\n<p>To list them, use command:<\/p>\n<pre>vmware-installer --list-components<\/pre>\n<p>Then, you may run the command below to uninstall a component:<\/p>\n<pre>sudo vmware-installer --uninstall-component=<b>vmware-player-app<\/b><\/pre>\n<p>And, run the last command, but replace the component name, again and again to uninstall all the components.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-uninstall-components.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-47701\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-uninstall-components-700x449.webp\" alt=\"\" width=\"610\" height=\"391\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-uninstall-components-700x449.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-uninstall-components-300x193.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-uninstall-components-768x493.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/12\/vmware-uninstall-components.webp 978w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Option 2: Manually delete all VMWare related files<\/h3>\n<p>If the last option does NOT work for you, try deleting all the installed files! And, here&#8217;s an <a href=\"https:\/\/knowledge.broadcom.com\/external\/article?legacyId=38\" target=\"_blank\" rel=\"noopener\">official guide<\/a> for Fedora\/RHEL.<\/p>\n<p>1. First, press <code>Ctrl+Alt+T<\/code> to open up a terminal window.<\/p>\n<p>Then, run command to auto-navigate to <code>\/etc\/rc{0~6}.d<\/code> (e.g., <code>\/etc\/rc0.d<\/code>, <code>\/etc\/rc1.d<\/code>, &#8230; <code>\/etc\/rc6.d<\/code>) directories one by one and delete vmware scripts:<\/p>\n<pre>for dir in \/etc\/rc*.d; do cd $dir &amp;&amp; sudo rm *vmware*; done<\/pre>\n<p>NOTE: this command will output several &#8220;No such file or directory&#8221; if file not found.<\/p>\n<p>And, delete vmware scripts under <code>\/etc\/init.d<\/code> directory.<\/p>\n<pre>sudo rm \/etc\/init.d\/vmware*<\/pre>\n<p>After deleted all vmware scripts under <code>\/etc\/init.d\/<\/code> and <code>\/etc\/rc*.d<\/code> directories and reboot, it allows me to use <code>wmware-installer<\/code> command to remove the product.<\/p>\n<p>2. Then, also remove the config file under <code>\/etc\/modprobe.d<\/code> for loading kernel module at startup.<\/p>\n<pre>sudo rm \/etc\/modprobe.d\/vmware-fuse.conf<\/pre>\n<p>3. Next, remove all vmware related executable files by running commands:<\/p>\n<pre>sudo rm \/usr\/bin\/vmware*<\/pre>\n<pre>sudo rm \/usr\/sbin\/vmware*<\/pre>\n<pre>sudo rm \/usr\/bin\/vmnet*<\/pre>\n<p>4. And, remove all the library files and \/etc configurations via commands:<\/p>\n<pre>sudo rm -R \/etc\/vmware*<\/pre>\n<pre>sudo rm -R \/usr\/lib\/vmware*<\/pre>\n<p>5. For personal user data and cache, remove them via command:<\/p>\n<pre>rm -R ~\/.vmware ~\/.cache\/vmware<\/pre>\n<p>6. And, remove vmware logs:<\/p>\n<pre>sudo rm -R \/var\/log\/vmware*<\/pre>\n<p>7. There are as well app shortcut file and other XML files can be removed by commands:<\/p>\n<pre>sudo rm \/usr\/local\/share\/applications\/vmware-player.desktop<\/pre>\n<pre>sudo rm \/usr\/share\/mime\/application\/*vmware*.xml<\/pre>\n<pre>sudo rm \/usr\/local\/share\/appdata\/vmware-player.appdata.xml<\/pre>\n<pre>sudo rm \/usr\/share\/mime\/packages\/vmware-player.xml<\/pre>\n<p>There may be other small files, such as vmware icons, left on your system. If you want to remove them all, try installing <code>plocate<\/code>:<\/p>\n<pre>sudo apt install plocate<\/pre>\n<p>Then update database via command <code>sudo updatedb<\/code>, and finally search any vmware files on your system and use <code>rm<\/code> command to remove.<\/p>\n<pre>locate vmware<\/pre>\n<p>That&#8217;s all. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows you how to completely remove the old VMWare Workstation player in Ubuntu 24.04 and Linux Mint 22. I was trying to install the new VMWare Workstation Pro 17.6.1 today in my Ubuntu laptop. The official installer however told me to uninstall the old VMWare Player 17.5.0.0 first. The problem was that wmware-installer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":46221,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[190],"class_list":["post-47699","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-vmware"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=47699"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/47699\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/46221"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=47699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=47699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=47699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}