Skip to content

Instantly share code, notes, and snippets.

@dim
Created August 13, 2012 06:49
Show Gist options
  • Save dim/3337503 to your computer and use it in GitHub Desktop.
Save dim/3337503 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ "$(id -u)" != "0" ]; then
echo "Sorry, please run with sudo."
exit 1
fi
echo "deb http://binaries.erlang-solutions.com/debian `lsb_release -c | cut -f2` contrib" | tee /etc/apt/sources.list.d/esl-erlang.list
wget -O - http://binaries.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add -
aptitude update
aptitude remove erlang
aptitude install esl-erlang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment