Install scala-library by entering the following commands in the terminal:
sudo apt update sudo apt install scala-library
Description:
Scala standard library
Scala is a Java-compatible programming language with many modern language features. It is Java-compatible in that Scala and Java classes can directly reference each other and subclass each other with no glue code needed. It includes modern language features such as closures, pattern-matching, parametric types, and virtual type members. . This package contains the run-time library needed to run Scala programs. It also provides scalacheck and scala-partest.
Homepage: http://www.scala-lang.org/
Version: 2.11.12-2
Section: universe/devel