Skip to content

Instantly share code, notes, and snippets.

@moranmathias
moranmathias / scala_setup.sh
Last active August 29, 2015 14:01
Scala set up
#!/bin/sh
# James Sullivan 2014/04/17
download() {
local zipname="${1##*/}"
if [ ! -f ./$zipname ]; then
echo "downloading "$1
curl $1 -O
fi
tar -C /tmp -zxvf $zipname
# Install java and make sure JAVA_HOME is properly set.
# Make sure those dependencies are present:
sudo apt-get install g++ uuid-dev libtool autoconf automake
cd ~
# install zeromq
wget http://download.zeromq.org/zeromq-2.1.7.tar.gz
tar -xzf zeromq-2.1.7.tar.gz