Ubuntu installs 2.10.x version of Scala

Source: Internet
Author: User

The default Scala version of Ubuntu 14.04.1 LTS is 2.9, and the latest version of spark-1.3 requires a minimum version of the Scala version of 2.10.x, first using apt-get remove Scala to clean up the old version of Scala on the machine. Download http://www.scala-lang.org/download/2.10.5.html Scala in this location,

Now well after the decompression,

Finally, edit the ~/.BASHRC, setting the following environment variables:

Export path=/home/zhangchao3/spark-evn/scala-2.10. 5/bin: $PATHexport scala_home=/home/zhangchao3/spark-evn/scala-2.10. 5

As you can see, the Scala version is 2.10.

[Email protected]:~/spark-evn/scala-2.10. 5$ scala-2.10. 5 2002-LAMP/EPFL

Ubuntu installs 2.10.x version of Scala

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.