installation aborted 大气层(Install Scala on Ubuntu,so easy,technology is no buoundry)
Install Scala on Ubuntu
Posted on
November 26, 2010
by
sumwaiTo install Scala on Ubuntu, you get it either using
sudo apt-get install scala
or if you want to get the latest stable Scala release, here are the steps:
First, install Sun Java
Enable Multiverse repository, see here.
Install the Sun Java packages, choose it to be the default.
Second, install ScalaDownload the latest Scala package, on scala-lang.org.
wget http://www.scala-lang.org/downloads/distrib/files/scala-2.8.1.final.tgz
Uncompress it to /opt/
tar -C /opt/ -xvzf scala-2.8.1.final.tgz
Add Scala to your $PATH by adding this line to .profile inside your home directory
PATH="$PATH:/opt/scala-2.8.1.final/bin"
Restart Ubuntu, start a terminal window and type to see you have successfully installed it.
scala -version
创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!