How to Install and Uninstall scala Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "scala" package

In this section, we are going to explain the necessary steps to install scala on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install scala

2. Uninstall "scala" package

Please follow the steps below to uninstall scala on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove scala $ sudo apt autoclean && sudo apt autoremove

3. Information about the scala package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: scala
Priority: optional
Section: universe/devel
Installed-Size: 14686
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Version: 2.11.6-6
Depends: scala-library (= 2.11.6-6), scala-parser-combinators, scala-xml, default-jre-headless (>= 2:1.7) | java7-runtime-headless, libjline2-java
Suggests: scala-doc (>= 2.11.6-6)
Filename: pool/universe/s/scala/scala_2.11.6-6_all.deb
Size: 13108746
MD5sum: 769b284f02cd7d4ae6f1183384c55ea1
SHA1: a31ff6e7c6a28641f6c0b28f051daeb53029e36a
SHA256: 3980639effafe57bd3d38db4875819b735d6bb1dbe4102957735ab98092ee646
Description-en: 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).
Description-md5: c4ad9c8cdc32b480c48dbf9014880a0d
Homepage: http://www.scala-lang.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu