- Scala is a JVM language and Java is not usually installed by default. We will of course have to set up Scala as well. So let's have them installed.
$ sudo apt-get install default-jre
$ sudo apt-get install scala
- http://www.playframework.com/download
- Extract the contents of the zip file. The default installation of Ubuntu does not include zip/unzip utilities, so you might want to install the unzip utility first. Also bear in mind that de-compressing the zip file will automatically create a lot of files in the directory where you have downloaded Play. Consider moving the zip file to its own directory before you extract its contents.
$ sudo apt-get install unzip
$ wget http://download.playframework.org/releases/play-2.0.4.zip
$ unzip play-2.0.4.zip
Setup Play Framework
- If you wish to follow Linux's File Hierarchy Standard, then extract Play to /opt. Create a shortcut for theplay command from /usr/local/bin/play so that it is in user's PATH. Using a regular user account, type theplay command.
$ sudo mv play-2.0.4 /opt $ sudo ln -s /opt/play-2.0.4 /opt/play $ sudo ln -s /opt/play/play /usr/local/bin/play $ play
No comments:
Post a Comment