1. 配置路径
sudo gedit /etc/profile
2.在文件后面加入
export PATH=/home/sendi/scala-2.11.7/bin:$PATH
3.更新
source /etc/profile
4. 查看,输入scala -version
sendi@sendi-Aspire-E1-410G:~$ scala -version Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL sendi@sendi-Aspire-E1-410G:~$ scala Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_67). Type in expressions to have them evaluated. Type :help for more information. scala>