Provided [Link to install scala] not so useful, but for reference.
And follow the guide in sbt offical site
Instructions for installation on CentOS7
-
execute below codes
1 2 3 4cd ~ wget https://downloads.lightbend.com/scala/2.13.0/scala-2.13.0.rpm sudo yum install scala-2.13.0.rpm rm scala-2.13.0.rpm -
Install sbt
1 2curl https://bintray.com/sbt/rpm/rpm | sudo tee /etc/yum.repos.d/bintray-sbt-rpm.repo sudo yum install sbt
Instructions for installation on Ubuntu
Provided [Useful related link] only reference, no followed.
And follow the guide in sbt offical site
-
execute below codes
1 2 3 4cd ~ wget https://downloads.lightbend.com/scala/2.13.0/scala-2.13.0.deb sudo dpkg -i scala-2.13.0.deb rm scala-2.13.0.deb -
Install sbt
1 2 3 4echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 sudo apt-get update sudo apt-get install sbt