Como instalar o htop no OS X usando o Homebrew?

7

Estou tentando instalar o htop usando o brew:

➜  ~  brew install htop
Error: You must 'brew link autoconf' before htop-osx can be installed

Então eu estou fazendo

brew link autoconf
Linking /usr/local/Cellar/autoconf/2.69... Warning: Could not link autoconf. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp/autotest-mode.elc
Target /usr/local/share/emacs/site-lisp/autotest-mode.elc already exists. You may need to delete it. 
To force the link and overwrite all other conflicting files, do:
brew link --overwrite formula_name
To list all files that would be deleted:
brew link --overwrite --dry-run formula_name

Qual é a raiz do problema?

    
por Voldemar Duletskiy 22.05.2013 / 13:19

1 resposta

3

Eu acabei de me deparar com essa questão!

Abra o seu terminal, tentando instalar:

brew install htop

Saída:

$ brew install htop Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again. Error: You must 'brew link autoconf' before htop-osx can be installed

Agora corrija:

sudo brew link autoconf

Deixe-me saber se isso ajuda!

Depois, pode pedir-lhe para ligar "htop":

sudo brew link htop

Basicamente, todos os problemas de "linkking" precisam de root para criar os links simbólicos corretos para funcionar corretamente em seu sistema.

Atenciosamente,

    
por 06.09.2013 / 07:52