1
我試圖刪除自制軟件,以便我可以將它安裝在另一個帳戶上。但是在某個地方,我一定會搞砸的。我遵循常見問題解答中的卸載技巧,我想我設法部分刪除它。現在,當我嘗試釀造醫生時,我得到:無法重新安裝自制軟件
-bash: brew: command not found
所以我asume它部分卸載。但是,當我運行自制軟件的安裝腳本,我得到以下信息:
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
所以我嘗試室射頻的/ usr /本地/酒窖/usr/local/.git & &釀造清理,並得到:
rm: /usr/local/.git/branches: Permission denied
rm: /usr/local/.git/config: Permission denied
rm: /usr/local/.git/description: Permission denied
rm: /usr/local/.git/FETCH_HEAD: Permission denied
rm: /usr/local/.git/HEAD: Permission denied
rm: /usr/local/.git/hooks/applypatch-msg.sample: Permission denied
rm: /usr/local/.git/hooks/commit-msg.sample: Permission denied
rm: /usr/local/.git/hooks/post-update.sample: Permission denied
rm: /usr/local/.git/hooks/pre-applypatch.sample: Permission denied
rm: /usr/local/.git/hooks/pre-commit.sample: Permission denied
rm: /usr/local/.git/hooks/pre-rebase.sample: Permission denied
rm: /usr/local/.git/hooks/prepare-commit-msg.sample: Permission denied
rm: /usr/local/.git/hooks/update.sample: Permission denied
rm: /usr/local/.git/hooks: Permission denied
rm: /usr/local/.git/info/exclude: Permission denied
rm: /usr/local/.git/info: Permission denied
rm: /usr/local/.git/logs/refs/remotes/origin/master: Permission denied
rm: /usr/local/.git/logs/refs/remotes/origin: Permission denied
rm: /usr/local/.git/logs/refs/remotes: Permission denied
rm: /usr/local/.git/logs/refs: Permission denied
rm: /usr/local/.git/logs: Permission denied
rm: /usr/local/.git/objects/info: Permission denied
rm: /usr/local/.git/objects/pack/pack-f61919e44996693539de9ee7986ee3c78a0b7c2a.idx: Permission denied
rm: /usr/local/.git/objects/pack/pack-f61919e44996693539de9ee7986ee3c78a0b7c2a.pack: Permission denied
rm: /usr/local/.git/objects/pack: Permission denied
rm: /usr/local/.git/objects: Permission denied
rm: /usr/local/.git/refs/heads: Permission denied
rm: /usr/local/.git/refs/remotes/origin/master: Permission denied
rm: /usr/local/.git/refs/remotes/origin: Permission denied
rm: /usr/local/.git/refs/remotes: Permission denied
rm: /usr/local/.git/refs/tags: Permission denied
rm: /usr/local/.git/refs: Permission denied
rm: /usr/local/.git: Directory not empty
現在我不知道該怎麼做,所以我可以重新安裝它。我不熟悉終端命令,所以可能是我錯過了一些簡單的東西,但請帶上建議。
非常感謝你的完美工作。 – Pikkuruusu
好聽:) – str