-
-
Save nickl-/8637211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# You will need to make this file executable (chmod +x) and run it with sudo | |
# Optionally supply the version number you want to build | |
[[ $1 ]] && VERSION=$1 || VERSION=R16B03-1 | |
apt-get update | |
apt-get --fix-missing -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk | |
mkdir -p /src/erlang | |
cd /src/erlang | |
wget -c http://www.erlang.org/download/otp_src_${VERSION}.tar.gz | |
tar zxvf otp_src_${VERSION}.tar.gz | |
cd otp_src_${VERSION} | |
./configure | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just some minor tweaks and improvements:
$ sudo ./install-erlang-ubuntu-precise.sh R16B04
nJoy!