update to scala 3
This commit is contained in:
parent
cd2d6cb405
commit
ed6c483bab
|
@ -103,12 +103,12 @@ cd rust-1.49.0-x86_64-unknown-linux-gnu
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
# install scala
|
# install scala
|
||||||
# final binary: /opt/scala/scala-2.12.13/bin/scala
|
# final binary: /opt/scala/scala3-3.0.0-M3/bin/scala
|
||||||
# get version: /opt/scala/scala-2.12.13/bin/scala -version
|
# get version: /opt/scala/scala3-3.0.0-M3/bin/scala -version
|
||||||
cd /opt && mkdir scala && cd scala
|
cd /opt && mkdir scala && cd scala
|
||||||
wget https://downloads.lightbend.com/scala/2.12.13/scala-2.12.13.tgz
|
wget https://github.com/lampepfl/dotty/releases/download/3.0.0-M3/scala3-3.0.0-M3.tar.gz
|
||||||
tar -xzf scala-2.12.13.tgz
|
tar -xzf scala3-3.0.0-M3.tar.gz
|
||||||
echo 'export PATH=$PATH:/opt/scala/scala-2.12.13/bin' >> /opt/.profile
|
echo 'export PATH=$PATH:/opt/scala/scala3-3.0.0-M3/bin' >> /opt/.profile
|
||||||
source /opt/.profile
|
source /opt/.profile
|
||||||
|
|
||||||
# install swift
|
# install swift
|
||||||
|
|
Loading…
Reference in New Issue