How To Install Scalac On Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS?
Maintainer: Debian Java Maintainers
Email: [email protected] .
Website: https://www.scala-lang.org/
Section: devel
Install scalac
-
Debian
apt-get install scalaClick to copy -
Ubuntu
apt-get install scalaClick to copy -
Arch Linux
pacman -S scalaClick to copy -
Kali Linux
apt-get install scalaClick to copy -
Fedora
dnf install scalaClick to copy -
Raspbian
apt-get install scalaClick to copy -
macOS
brew install scalaClick to copy
scala
Scala programming languageScala 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.




