Last active
March 17, 2017 12:59
-
-
Save teodorpatras/c7f6f1bf0e903ccafd68f3acdb368a52 to your computer and use it in GitHub Desktop.
Install Scala and SBT using apt-get on Ubuntu 14.04 or any Debian derivative using apt-get
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
## updated for Ubuntu 16.04 | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java7-installer | |
sudo apt-get remove scala-library scala | |
sudo wget www.scala-lang.org/files/archive/scala-2.11.8.deb | |
sudo dpkg -i scala-2.11.8.deb | |
sudo apt-get update | |
sudo apt-get install scala | |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 | |
sudo apt-get update | |
sudo apt-get install sbt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks nice work