Ubuntu 16 install Play Framewrok

1、Download “play-2.2.6.zip” from https://www.playframework.com/download
extract it and rename the file as “play”

2、move file “play” to /home :

3、
in the terminal:

#添加到全局环境变量
echo “export PATH=/home/play:$PATH” >> /etc/profile
#使全局变量立即生效,但不是永久生效
source /etc/profile
#检测是否生效
play
#重启电脑,全局变量将会生效。重启后直接在terminal 中输入play即可,不用先输入source /etc/profile。

4、Done.

你可能感兴趣的:(ubuntu,Play,install,framework,linux)