Micah P. Dombrowski / May 13 2019

OpenJDK + Clojure

1. First OpenJDK

apt-get -qq update
apt-get install --no-install-recommends default-jdk \
  libxext6 libxrender1 rlwrap
apt-get clean
rm -r /var/lib/apt/lists/* # Clear package list so it isn't stale

2. Then Clojure

wget --progress=bar:force \
  https://download.clojure.org/install/linux-install-${CLOJURE_VERSION}.sh 
/bin/bash linux-install-${CLOJURE_VERSION}.sh
rm ./linux-install-${CLOJURE_VERSION}.sh
clojure -e "(clojure-version)"
cd /usr/local/bin
wget --progress=bar:force \
  https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
chmod +x lein
./lein
clojure -Sdeps '{ :deps {
  org.clojure/tools.deps.alpha {:mvn/version "0.6.496"}
}}' -e "(clojure-version)"