Skip to content

Instantly share code, notes, and snippets.

@OhCoder
Last active April 23, 2019 02:39
Show Gist options
  • Save OhCoder/2365420478795522a952fe8d699ba7e1 to your computer and use it in GitHub Desktop.
Save OhCoder/2365420478795522a952fe8d699ba7e1 to your computer and use it in GitHub Desktop.
asdf install erlang for ubuntu
  1. according the asdf document to install lib before run
asdf install erlang 21.3.4
  1. if you meet warning,
documentation : 
                xmllint is missing.
                Using fakefop to generate placeholder PDF files.

then you need to run,

sudo apt-get install libxml2-utils

if the warning is

jinterface     : No Java compiler found

then you should run,

sudo apt-get install default-jdk

to install jdk

@OhCoder
Copy link
Author

OhCoder commented Apr 23, 2019

For macOS:

After Install asdf, need to set the env:

echo 'source /usr/local/opt/asdf/asdf.sh' >> .zshrc

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