How To Install Scalac On Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS?

How To Install Scalac On Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS?

scalac

Scala programming language

Maintainer: Debian Java Maintainers



Section: devel

Install scalac

  • Debian apt-get install scala Click to copy
  • Ubuntu apt-get install scala Click to copy
  • Arch Linux pacman -S scala Click to copy
  • Kali Linux apt-get install scala Click to copy
  • Fedora dnf install scala Click to copy
  • Raspbian apt-get install scala Click to copy
  • macOS brew install scala Click to copy

scala

Scala programming language

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 includes the various tools used to develop code written in Scala. It includes a compiler (scalac), an interpreter and script runner (scala), the offline compiler (fsc), and source-scanning documentation generator (scaladoc).

Installing scalac command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of scalac 2026 package in your OS.