-
-
Save mxttwoods/9f43d030a76fc11a3c1c8c5f0ca7452c 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