How to remove Erlang using Homebrew in OSX 10.10?

I already installed Erlang on my OSX computer, but I ran into the following problems:

/ usr / local / bin / erl: line 28: / Users / irshadpc / @@ HOMEBREW_CELLAR@ @ / erlang / 17.5 / lib / erlang / erts-6.4 / bin / erlexec: There is no such file or directory / usr / local / bin / erl: line 28: exec: / Users / irshadpc / @@ HOMEBREW_CELLAR@ @ / erlang / 17.5 / lib / erlang / erts-6.4 / bin / erlexec: cannot be executed: there is no such file or directory.

Can someone help me uninstall Erlang and reinstall it?

+6
source share
1 answer

To remove old versions of installed formulas and see them during their removal, simply run:

brew cleanup -n 

to remove erlang (if you are having problems) just

 brew uninstall erlang --force 

to install the latest version of erlang after that

 brew update brew install erlang 
+4
source

Source: https://habr.com/ru/post/989389/


All Articles