In the article, I will explain how to install Scala in your Ubuntu system. To start with, Java needs to installed before installing Scala. So run below two commands to install Java.
sudo apt update
sudo apt install default-jre
After successful installation of Java you verify by using before command. If you execute the same command, it should show a similar prompt message of the version.
Let’s jump into the main step of installing Scala. It is as simple as installing any other application in Ubuntu. Run the below command.
sudo apt-get install scala
Once you type enter, there will be a prompt to proceed with installation. You can continue by pressing y or Y.
Once successfully installed, it would look like the below the screen.
To verify it. You can open Scala RELP and check.
There you go!.
© 2022, Datalieve . All rights reserved.
Harper
December 6, 2022 at 6:10 amNice tutorial. Thanks!