Skip to content

Instantly share code, notes, and snippets.

@henrik
Last active March 16, 2017 09:34
Show Gist options
  • Save henrik/9e5250a83ccec6891f29e17f3f37277f to your computer and use it in GitHub Desktop.
Save henrik/9e5250a83ccec6891f29e17f3f37277f to your computer and use it in GitHub Desktop.
Uninstall erlang-history

I wanted to uninstall erlang-history on OS X because of this issue.

This is what I did, essentially reversing the install instructions.

Note that file paths may vary with OS, installation method, versions etc.

  • Open /usr/local/Cellar/erlang/18.3/lib/erlang/lib/kernel-4.2/ebin/kernel.app in an editor and remove group_history from the modules list.
  • Recompile group.erl like so: cd /usr/local/Cellar/erlang/18.3/lib/erlang/lib/kernel-4.2/src; erlc group.erl
  • Move the compiled group.beam from src to ebin: cd ..; mv src/group.beam ebin/
  • Remove group_history.beam just to be tidy: rm ebin/grop_history.beam
@henrik
Copy link
Author

henrik commented Feb 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment