Install Scala 2.9 nightly build

How to install Scala 2.9 night build on Ubuntu?

+3
source share
2 answers

Just extract it somewhere and make sure its subdirectory binis on PATH as well java.

+3
source

You must do it manually. I usually put my assemblies in

/usr/share/scala

but there are other places that make sense. Anyway, I started with

sudo mkdir /usr/share/scala
cd /usr/share/scala
tar zxf scala-2.9.0.r24301-b20110218020036.tgz
ln -s scala-2.9.0.r24301-b20110218020036 2.9

Now we have Scala, and we have a soft link to / usr / share / scala / 2.9 that we can continue to point to new assemblies when we unpack them.

Scala Ubuntu, , , . Ubuntu Scala /usr/local/bin/, :

sudo mv /usr/local/bin/scala /usr/local/bin/oldscala
sudo ln -s /usr/share/scala/2.9/bin/scala /usr/local/bin/scala
# same thing for scalac, fsc, scaladoc

. Ubuntu , Scala .

+3

Source: https://habr.com/ru/post/1793090/


All Articles