Skip to content

Instantly share code, notes, and snippets.

@bryanhunter
bryanhunter / build-erlang-17.0.sh
Last active Oct 26, 2019
Build Erlang 17.0 on a fresh Ubuntu box (tested on 12.04 and 14.04)
View build-erlang-17.0.sh
#!/bin/bash
# Pull this file down, make it executable and run it with sudo
# wget https://gist.githubusercontent.com/bryanhunter/10380945/raw/build-erlang-17.0.sh
# chmod u+x build-erlang-17.0.sh
# sudo ./build-erlang-17.0.sh
if [ $(id -u) != "0" ]; then
echo "You must be the superuser to run this script" >&2
exit 1
fi
You can’t perform that action at this time.