To install Scala on Linux you need to get scala on your Linux machine. You can get Scala by below two methods :
1) Default Scala version available on your Linux box by typing below command
sudo apt-get install scala
2) If you want to get the latest version of the scala below are the steps
a) Download latest IzPack Installer for linux as shown below
wget http://www.scala-lang.org/downloads/distrib/files/scala-2.9.1.final-installer.jar
b) For installing the downloaded package we need to decide the location of installation. I have selected /opt/scala. If you decide to select same location please make sure you have created /opt/scala. You can use below command to create directory.
sudo mkdir /opt/scala
c) Start installation by typing below command
sudo java -jar scala-2.9.1.final-installer.jar
d) You will get some welcome message and you will be asked to enter 1 to continue. You can enter 1 for installation.
e) In next step you will be asked to accept license. You can accept license by entering 1.
f) Next step will be selecting target directory for installation. Enter below path for installation.
/opt/scala
g) Next press 1 to continue
h) You will get below message on the shell.
Console Installation Completed
i) Set Scala installation path as below
PATH="$PATH:/opt/scala/bin"
Congratulation!!! You have successfully installed Scala on your Linux. To check the scala you can type below command
scala -version
You will get below message
Scala code runner version 2.9.1.final -- Copyright 2002-2011, LAMP/EPFL
原文链接:http://vigilance.co.in/install-scala-2-9-linux-ubuntu/
分享到:
相关推荐
最新scala 2.9.1 final包
aspects of its history, purposes, and how to install Scala on Windows, Linux, and Mac OS. After that, the Scala web framework will be discussed in brief. Then, we will provide a comparative analysis ...
Scala\scala-2.9.1.final-devel-docs.zip
Scala 2.12.0 (Linux)
scala-2.12.0 linux版本 压缩成rar文件了,想用的话,先windows解压 然后在rz到Linux 用tar解压
jdbi-scala.zip,jdbi的jdbi scalascala帮助程序
scala2.11.12版本,包含win和linux安装包: winx64.msi+linux压缩包版本 官网搬运,亲测可用
flink-1.11.2-bin-scala_2.12 linux安装包
scala 2.11.0 M8 for linux。 Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and...
SCALA学习手册SCALA学习手册SCALA学习手册SCALA学习手册
your first on Scala, a foundation on which to build, before you dive into the more advanced features Scala has to offer. I had a great time writing this book and I hope you have a great time learning ...
Scala初学者指南 A.Beginner's.Guide.to.Scala
NULL 博文链接:https://christen.iteye.com/blog/1218457
maven-scala-plugin-2.9.1.jar
jar包,亲测可用
Tour Scala and learn the basic syntax, constructs, and how to use the REPLTranslate Java syntax that you already know into Scala Learn what Scala offers over and above JavaBecome familiar with ...
Testing in Scala also gives insight on how to integrate coverage tools, continuous integration, web acceptance frameworks, and Java testing frameworks that you already know and love.
Scala for the Impatient 中文版 快学Scala pdf(含目录) scala 快速入门书箱 scala经典图书 Core Java作者最新力作 中文版 快学Scala Scala for the Impatient 中文版 [美]C S 霍斯曼 2012 电子工业出版社
Programming.Scala_Tackle.Multi-... Programming Scala will show you how to use this powerful functional programming language to create highly scalable, highly concurrent applications on the Java Platform.
maven-scala-plugin-2.9.1-site.jar