MacでバイナリパッケージからインストールしたGitを削除する方法
- macOS Sierra
- Git 2.13.x (dmgパッケージからインストール)
アンインストールスクリプトがあるのでそれを実行するだけ。
アンインストールスクリプトの確認
$ ls -al /usr/local/git/uninstall.sh
-rwxr-xr-x 1 james admin 718 May 11 10:31 /usr/local/git/uninstall.sh
削除スクリプト実行
$ sudo /usr/local/git/uninstall.sh
Password:
This will uninstall git by removing /usr/local/git/, and symlinks
Type 'yes' if you are sure you wish to continue: yes
Forgot package 'com.git.pkg' on '/'.
Uninstalled
動機
なんかもういい加減Homebrewで管理すりゃいいよねと。