Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Scala on Linux system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "Linux system how to install Scala", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Linux system how to install Scala" this article.

Scala is a programming language similar to java is a pure object-oriented programming language, but seamlessly combines imperative programming and functional programming style.

The installation of Scala under Linux is similar to that of Windows. The steps are as follows:

First of all, visit the download link: http://www.scala-lang.org/download/ downloads the Windows version here by default, then click the All downloads above to enter all the version download pages:

Then select the latest version, Scala 2.11.8 to enter

After entering, pull it to the bottom of the page, and select the Mac OSX,Unix version of the binary package to download.

After downloading, upload it to the server and prepare for installation

First, set up the scala storage directory: mkdir / usr/local/scala

Then release scala and install it to the specified directory:

Tar-xvzf scala-2.11.8.tgz & & mv scala-2.11.8 / usr/local/scala/

Then configure the environment variable, execute vim / etc/profile to edit the configuration file, and append the binary location of scala after PATH, here is: / usr/local/scala/scala-2.11.8/bin

After configuration, save and exit

Execute source / etc/profile to make the environment variable effective

If scala-version returns version information normally, the Scala environment will be configured successfully.

The above is all the contents of the article "how to install Scala in Linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report