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

Install Scala under CentOS (case is Scala2.11.6)

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

Note: download address: http://downloads.typesafe.com/scala/2.11.6/scala-2.11.6.tgz?_ga=1.41078626.1125902863.1429259252

Can be downloaded to a specified location using the "download address" method of # wget

Download scala-2.11.6.tgz and save it to the / usr/local/src directory.

1. Decompression

# tar-zxf scala-2.11.6.tgz

# sudo mv scala-2.11.6 / usr/lib

2. Configure environment variables

# sudo vim / etc/profile

Add at the end

Export SCALA_HOME=/usr/lib/scala-2.11.6

Export PATH=$PATH:$SCALA_HOME/bin

3. Make the configuration file effective immediately

Source / etc/profile

4. Test

# scala-version

Display: Scala code runner version 2.11.6. Installation succeeded

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

Network Security

Wechat

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

12
Report