update to scala 3

This commit is contained in:
Sirius902 2021-02-04 20:35:24 -08:00
parent cd2d6cb405
commit ed6c483bab
1 changed files with 5 additions and 5 deletions

View File

@ -103,12 +103,12 @@ cd rust-1.49.0-x86_64-unknown-linux-gnu
./install.sh
# install scala
# final binary: /opt/scala/scala-2.12.13/bin/scala
# get version: /opt/scala/scala-2.12.13/bin/scala -version
# final binary: /opt/scala/scala3-3.0.0-M3/bin/scala
# get version: /opt/scala/scala3-3.0.0-M3/bin/scala -version
cd /opt && mkdir scala && cd scala
wget https://downloads.lightbend.com/scala/2.12.13/scala-2.12.13.tgz
tar -xzf scala-2.12.13.tgz
echo 'export PATH=$PATH:/opt/scala/scala-2.12.13/bin' >> /opt/.profile
wget https://github.com/lampepfl/dotty/releases/download/3.0.0-M3/scala3-3.0.0-M3.tar.gz
tar -xzf scala3-3.0.0-M3.tar.gz
echo 'export PATH=$PATH:/opt/scala/scala3-3.0.0-M3/bin' >> /opt/.profile
source /opt/.profile
# install swift