Skip to content

Instantly share code, notes, and snippets.

@ajkovar
Last active December 17, 2015 20:29
Show Gist options
  • Save ajkovar/5668350 to your computer and use it in GitHub Desktop.
Save ajkovar/5668350 to your computer and use it in GitHub Desktop.
#!/bin/bash
# needed for compiling emacs
sudo apt-get install -y libgtk-3-dev libxpm-dev libjpeg-dev libgif-dev libtiff4-dev libncurses5-dev qjackctl qsynth
# misc
sudo apt-get install -y aptitude rlwrap grc
# work
sudo apt-get install -y mysql-server git git-gui openjdk-7-jdk openjdk-6-jdk curl
curl -L https://get.rvm.io | bash
source $HOME/.rvm/scripts/rvm
rvm install ruby-1.8.7
export JAVA_HOME=/usr/lib/jvm/default-java
echo "export JAVA_HOME=/usr/lib/jvm/default-java" >> ~/.bash_profile
gem install bundler
#sudo update-java-alternatives --jre -s java-1.7.0-openjdk-amd64
curl https://raw.github.com/technomancy/leiningen/stable/bin/lein >> ~/bin/lein
chmod 755 ~/bin/lein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment