You want to install Scala to a Red Hat Enterprise Linux instance of AWS. How do you do this?
1. Install Java: sudo yum -y install java-1.8*
2. Log off and log back on.
3. Run these three commands:
curl https://bintray.com/sbt/rpm/rpm | sudo tee /etc/yum.repos.d/bintray-sbt-rpm.repo
sudo yum -y install sbt
sbt new scala/hello-world.g8
4. Verify Scala has been installed with this command: scala about