Created
March 13, 2015 05:58
-
-
Save bkasper/559db278c899f0b0a489 to your computer and use it in GitHub Desktop.
Installing Scala 2.11.6 on a fresh CentOS 6.5 image.
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Installs Scala 2.11.6 on a fresh CentOS 6.5 image. | |
| sudo yum update -y | |
| sudo yum install -y wget | |
| # Scala | |
| wget http://www.scala-lang.org/files/archive/scala-2.11.6.tgz | |
| tar xvf scala-2.11.6.tgz | |
| sudo mv scala-2.11.6 /usr/lib | |
| sudo ln -s /usr/lib/scala-2.11.6 /usr/lib/scala | |
| echo "export PATH=$PATH:/usr/lib/scala/bin" >> ~/.bashrc | |
| rm scala-2.11.6.tgz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment