码迷,mamicode.com
首页 > 系统相关 > 详细

Mac 如何干净的卸载 VMware Fusion ?

时间:2019-06-06 20:54:19      阅读:571      评论:0      收藏:0      [点我收藏+]

标签:war   list   har   machines   pat   vmw   path   public   file   

Completely Uninstall VMware On Mac
 
# 1. 删除根目录下的,需要用管理员权限
sudo rm -rf /Applications/VMware\ Fusion.app
sudo rm -rf /Library/Application\ Support/VMware
sudo rm -rf /Library/Preferences/VMware\ Fusion
sudo rm -rf /Library/Logs/VMware/ 
sudo rm -rf /Library/Logs/VMware\ Fusion\ Services.log sudo rm -rf /Library/Logs/VMware\ USB\ Arbitrator\ Service.log
sudo rm -rf /Library/Logs/DiagnosticReports/vmware* sudo rm -rf /etc/paths.d/com.vmware.fusion.public
sudo rm -rf /private/var/db/vmware
sudo rm -rf /private/var/run/vmware
sudo rm -rf /private/var/run/VMware\ Fusion\ Services.lock
sudo rm -rf /private/var/run/VMware\ Fusion\ Services.sock sudo rm -rf /private/var/run/VMware\ USB\ Arbitrator\ Service.lock sudo rm -rf /private/var/run/VMware\ USB\ Arbitrator\ Service.sock sudo rm -rf /Library/Application\ Support/VMware\ Fusion/ sudo rm -rf /var/db/BootCaches/*/app.com.vmware.fusion.playlist sudo rm -rf /private/var/root/Library/Logs/VMware
sudo rm -rf /private/var/root/Library/Preferences/VMware\ Fusion
 
# 2. 删除自己目录下的
rm -rf ~/Library/Application\ Support/VMware\ Fusion/
rm -rf ~/Library/Preferences/VMware\ Fusion/
rm -rf ~/Library/Caches/com.vmware.fusion
rm -rf ~/Library/Logs/VMware
rm -rf ~/Library/Logs/VMware\ Fusion
rm -rf ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.vmware.fusion.sfl2

 

# 3. 以下目录可以使用通配符一次性删除: rm -rf ~/Library/Preferences/com.vmware.*  
rm -rf ~/Library/Preferences/com.vmware.fusion.plist
rm -rf ~/Library/Preferences/com.vmware.fusion.plist.lockfile
rm -rf ~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist
rm -rf ~/Library/Preferences/com.vmware.fusion.LSSharedFileList.plist.lockfile
rm -rf ~/Library/Preferences/com.vmware.fusionDaemon.plist
rm -rf ~/Library/Preferences/com.vmware.fusionDaemon.plist.lockfile
rm -rf ~/Library/Preferences/com.vmware.fusionStartMenu.plist
rm -rf ~/Library/Preferences/com.vmware.fusionStartMenu.plist.lockfile

 

# 4. 如果VMware上安装过虚拟服务器可能会有以下两个文件,有的话也要删除

rm -rf ~/Virtual\ Machines
rm -rf ~/Virtual\ Machines.localized/

 

PS: 

1)注意是在根目录下还是在用户主目录下。

2)并不是每一项一定有,比如第3项中的那8个,我的电脑里就只有2个。

 

 

 

 

Mac 如何干净的卸载 VMware Fusion ?

标签:war   list   har   machines   pat   vmw   path   public   file   

原文地址:https://www.cnblogs.com/bella1102/p/10986653.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!