mac下「手工」完全卸載軟件App

我們以卸載XCode爲例,演示刪除過程。

第1步:刪除應用程序

在應用程序中,右鍵選擇移到廢紙簍即可
第1步
以下操作務必小心,在執行rm操作時,最好先瞅一眼。

第2步:刪除/資源庫/Application Support

我們可以藉助iTem2工具,或直接使用mac自帶的終端應用,cd ~/Library/Application\ Support/,然後rm -rf Xcode/

第3步:刪除/資源庫/Preferences

cd /Library/Preferences/,然後find . -iname '*Xcode*' | xargs sudo rm

第4步:刪除/資源庫/Preferences

cd ~/Library/Preferences/,然後find . -iname '*Xcode*' | xargs rm -rf

第5步:刪除/資源庫/Caches

cd ~/Library/Caches/,然後find . -iname '*Xcode*' | xargs rm -rf

第6步:刪除/資源庫/Containers

cd ~/Library/Containers/,然後find . -iname '*Xcode*' | xargs rm -rf

第7步:刪除/資源庫/LaunchAgents

cd ~/Library/LaunchAgents/,然後find . -iname '*Xcode*' | xargs rm -rf

第8步:刪除/資源庫/PreferencePanes

cd ~/Library/PreferencePanes/,然後find . -iname '*Xcode*' | xargs rm -rf

第9步:刪除/System/Library/LaunchDaemons/

cd /System/Library/LaunchDaemons/,然後find . -iname '*Xcode*' | xargs rm -rf

第10步:刪除/System/Library/LaunchAgents/

cd /System/Library/LaunchAgents/,然後find . -iname '*Xcode*' | xargs rm -rf

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章