Created
November 5, 2014 12:38
-
-
Save Antwnis/5c0b763f63d2bc9461a3 to your computer and use it in GitHub Desktop.
Install SBT 0.13.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo echo 'SBT_HOME=/usr/local/sbt/sbt-0.13.1' > /etc/profile.d/sbt.sh | |
sudo echo 'export SBT_HOME' >> /etc/profile.d/sbt.sh | |
sudo mkdir -p /usr/local/sbt | |
wget http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.tgz | |
sudo -s cp sbt.tgz /usr/local/sbt/ | |
cd /usr/local/sbt/ | |
sudo -s tar xvf sbt.tgz | |
sudo mv sbt sbt-0.13.1 | |
sudo rm -f sbt.tgz | |
sudo chown -R root:root /usr/local/sbt | |
sudo update-alternatives --install "/usr/bin/sbt" "sbt" "/usr/local/sbt/sbt-0.13.1/bin/sbt" 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment