{"id":4506,"date":"2013-03-14T23:49:12","date_gmt":"2013-03-14T15:49:12","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4506"},"modified":"2023-09-18T15:41:01","modified_gmt":"2023-09-18T15:41:01","slug":"how-to-uninstall-vmware-tools-on-linux-solaris-freebsd","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-uninstall-vmware-tools-on-linux-solaris-freebsd\/","title":{"rendered":"How to Uninstall VMware Tools on Linux, Solaris, FreeBSD"},"content":{"rendered":"<p>VMware Tools is a set of utilities that enhances the performance and functionality of guest operating systems running on VMware virtual machines. However, there may be situations where you need to uninstall VMware Tools from your Linux, Solaris, or FreeBSD guest operating system. In this guide, we will show you how to uninstall VMware Tools on these operating systems.<\/p>\n<h2>Step 1: Shut down the virtual machine<\/h2>\n<p>Before uninstalling VMware Tools, you need to shut down the virtual machine. You can do this from within the guest operating system or by using the VMware vSphere client or web interface.<\/p>\n<h2>Step 2: Remove VMware Tools<\/h2>\n<p>After shutting down the virtual machine, you can remove VMware Tools from the guest operating system. The steps to do this may vary depending on the operating system.<\/p>\n<h3>Linux<\/h3>\n<p>To remove VMware Tools from a Linux guest operating system, you can use the following command as root:<\/p>\n<pre>\r\nvmware-uninstall-tools.pl\r\n<\/pre>\n<p>This will run the VMware Tools uninstaller script and remove VMware Tools from the guest operating system.<\/p>\n<pre>\r\n[root@geeks ~]# vmware-uninstall-tools.pl\r\nUninstalling the tar installation of VMware Tools.\r\n\r\nStopping services for vmware-tools\r\n\r\ninitctl: Unknown instance:\r\nStopping services for vmware-tools-thinprint\r\n\r\ninitctl: Unknown instance:\r\nThis program previously created the file\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/pango\/pango.modules, and was about to\r\nremove it.  Somebody else apparently did it already.\r\n\r\nFile \/etc\/vmware-tools\/vmware-user.desktop is backed up to\r\n\/etc\/vmware-tools\/vmware-user.desktop.old.0.\r\n\r\nFile \/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/gtk-2.0\/gtk.immodules is backed up\r\nto \/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/gtk-2.0\/gtk.immodules.old.0.\r\n\r\nFile \/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/gtk-2.0\/gdk-pixbuf.loaders is\r\nbacked up to\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/gtk-2.0\/gdk-pixbuf.loaders.old.0.\r\n\r\nThis program previously created the file\r\n\/usr\/lib\/vmware-tools\/libconf\/etc\/gtk-2.0\/gdk-pixbuf.loaders, and was about to\r\nremove it.  Somebody else apparently did it already.\r\n\r\nThis program previously created the file\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/pango\/pangorc, and was about to remove\r\nit.  Somebody else apparently did it already.\r\n\r\nThis program previously created the file\r\n\/usr\/lib\/vmware-tools\/libconf\/etc\/gtk-2.0\/gtk.immodules, and was about to\r\nremove it.  Somebody else apparently did it already.\r\n\r\nThis program previously created the file\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/pango\/pangox.aliases, and was about to\r\nremove it.  Somebody else apparently did it already.\r\n\r\nThis program previously created the directory\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf\/etc\/gtk-2.0, and was about to remove it.\r\nSince there are files in that directory that this program did not create, it\r\nwill not be removed.\r\n\r\nThis program previously created the directory\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf\/etc, and was about to remove it. Since\r\nthere are files in that directory that this program did not create, it will not\r\nbe removed.\r\n\r\nThis program previously created the directory\r\n\/usr\/lib\/vmware-tools\/lib64\/libconf, and was about to remove it. Since there\r\nare files in that directory that this program did not create, it will not be\r\nremoved.\r\n\r\nThis program previously created the directory \/usr\/lib\/vmware-tools\/lib64, and\r\nwas about to remove it. Since there are files in that directory that this\r\nprogram did not create, it will not be removed.\r\n\r\nThis program previously created the directory \/usr\/lib\/vmware-tools, and was\r\nabout to remove it. Since there are files in that directory that this program\r\ndid not create, it will not be removed.\r\n\r\nThe removal of VMware Tools 9.2.2 build-893683 for Linux completed\r\nsuccessfully.  Thank you for having tried this software.\r\n<\/pre>\n<h3>Solaris<\/h3>\n<p>To remove VMware Tools from a Solaris guest operating system, you can use the following command as root:<\/p>\n<pre>\r\npkginfo -l VMwareTools\r\npkgrm VMwareTools\r\n<\/pre>\n<p>This will list the VMware Tools package information and then remove it from the guest operating system.<\/p>\n<h3>FreeBSD<\/h3>\n<p>To remove VMware Tools from a FreeBSD guest operating system, you can use the following command as root:<\/p>\n<pre>\r\ncd \/usr\/local\/etc\/rc.d\/\r\n.\/vmware-tools.sh stop\r\n.\/vmware-tools.sh uninstall\r\n<\/pre>\n<p>This will stop the VMware Tools daemon and then remove VMware Tools from the guest operating system.<\/p>\n<h2>Step 3: Restart the virtual machine<\/h2>\n<p>After removing VMware Tools from the guest operating system, you can restart the virtual machine. You can do this from within the guest operating system or by using the VMware vSphere client or web interface.<\/p>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">vmware-uninstall-tools.pl<\/span> &#8211; runs the VMware Tools uninstaller script on Linux<\/li>\n<li><span class=\"fw-bold\">pkginfo<\/span> &#8211; displays package information on Solaris<\/li>\n<li><span class=\"fw-bold\">pkgrm<\/span> &#8211; removes a package on Solaris<\/li>\n<li><span class=\"fw-bold\">vmware-tools.sh<\/span> &#8211; stops and uninstalls VMware Tools on FreeBSD<\/li>\n<\/ul>\n<h2>Conclusion:<\/h2>\n<p>In this guide, we have shown you how to uninstall VMware Tools from Linux, Solaris, and FreeBSD guest operating systems. Removing VMware Tools may be necessary if you are migrating a virtual machine to a different hypervisor or if you no longer need the enhanced functionality provided by VMware Tools. Remember to shut down the virtual machine before removing VMware Tools and then restart it after the removal process is complete.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMware Tools is a set of utilities that enhances the performance and functionality of guest operating systems running on VMware virtual machines. However, there may be situations where you need&#8230;<\/p>\n","protected":false},"author":6,"featured_media":2144,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1083],"tags":[1536,1895],"class_list":["post-4506","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware","tag-linux","tag-vmware"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4506"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4506\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/2144"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}