Skip to content

Instantly share code, notes, and snippets.

Created April 13, 2018 21:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo bash -c "echo JAVA_HOME="/usr/lib/jvm/java-8-oracle" >> /etc/environment"
java -version
export MAVEN_VERSION=3.3.9
sudo mkdir -p /usr/share/maven /usr/share/maven/ref \
&& sudo curl -fsSL$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
| sudo tar -xzC /usr/share/maven --strip-components=1 \
&& sudo ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
sudo bash -c "echo MAVEN_HOME="/usr/share/maven" >> /etc/environment"
export LEIN_ROOT=true
sudo curl \
-o /usr/local/bin/lein \
&& sudo chmod a+x /usr/local/bin/lein
bash -c "echo \"(exit)\" | lein repl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment