2

I am using Ubuntu 18.04

I run the following command

sudo apt-get install scala

This installs scala 2.11.12

but this is an outdated version. The real version of the programming language is 2.13.0

I googled and googled but everything points to very old and outdated articles.

Knows Not Much
  • 233
  • 3
  • 8

1 Answers1

0

As the OP noted, running apt-get installs an old version of Scala, and a solution it to use SDKMan instead.

Install SdkMan (https://sdkman.io/)

curl -s "https://get.sdkman.io" | bash

Use sdkman to install scala

sdk install scala 2.13.8
oche
  • 103
  • 1