Desinstalando o Homebrew de um iMac

0

Acho que fiz algo estúpido na minha nova iMac 3ghz 4K retina rodando o Sierra.

Eu queria instalar o surfraw , então fiz uma (muito) pesquisa rápida e acessei essa página .

De lá, copiei e colei a seguinte linha:

ruby -e "$(curl -fsSL http://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

Em algum lugar no processo, ele solicitou a senha do sudo, que eu digitei, e continuou a instalação. Abaixo você vê o que eu copiei do terminal após a instalação.

iMac:~ steve$ ruby -e "$(curl -fsSL http://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
/usr/local/bin
==> The following existing directories will have their owner set to steve:
/usr/local/bin
==> The following existing directories will have their group set to admin:
/usr/local/bin
==> The following new directories will be created:
/usr/local/Cellar
/usr/local/Homebrew
/usr/local/Frameworks
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/opt
/usr/local/sbin
/usr/local/share
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
/usr/local/var
==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin
==> /usr/bin/sudo /usr/sbin/chown steve /usr/local/bin
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown steve /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/mkdir -p /Users/steve/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/steve/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown steve /Users/steve/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown steve /Library/Caches/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Installing 
==> /usr/bin/sudo /usr/sbin/softwareupdate -i 
Software Update Tool

==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools

Após a instalação, não consegui encontrar nem executar multitail , por isso acho que a instalação não foi a esperada. Tentei reverter a situação procurando uma maneira de desinstalar.

Encontrei um site que dizia isso:

ruby -e "$(curl -fsSL http://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

No entanto, dizia:

Failed to locate Homebrew!

Então, agora estou com algo que não sei ao certo o que resultará nas alterações feitas pela instalação do Homebrew.

Neste ponto, tenho medo de fazer mais, sem primeiro consultar alguém - o que eu deveria ter feito em primeiro lugar - quem sabe o que ele está fazendo, porque eu evidentemente não o faço.

    
por steve 09.07.2017 / 18:18

0 respostas