0

I just installed Ubuntu 12.04 LTS, I am very new to the Ubuntu OS and I would need help with it. I am trying to install this open source platform called Play Framework, to install it I need to add the installation directory to my system path, the documentation for Play says that I should open a terminal and type export PATH=$PATH:/to/path/play. I have tried this it did not work. I also tried sudo apt-get install play and that did not work either. I am completely lost now, I need help.

3 Answers 3

1

Please place those lines -

export PATH=$PATH:/to/path/play

, in .bashrc file in your user directory and restart the system OR just execute the following command:

source ~/.bashrc

0

Welcome to askubuntu.com

In order to get good answers, make sure you provide any details that you have that may help other members solve your problems. For example, please provide a full description of the errors you are getting.

In general, you should be able to fix whatever problem you are having by following the instructions, but make sure you look at the prerequisites. In particular, you need to make sure you have java and javac in your command path.

Start here: http://www.playframework.org/documentation/2.0.2/Installing

Then follow this: http://www.playframework.org/documentation/2.0.2/ScalaTodoList

If you still have problems, please update your question with the error you are getting.

Note: sudo apt-get install play will install sox and not the Play Framework

0

Note that the /path/to/play in the documentation should be the parent directory containing the play executable (but not including the executable; the example may be a little confusing). So, something like: /opt/playframework/play-2.2.1/ is what should be added to the PATH in .bashrc.

To add execute permissions to play:

chmod a+x /opt/playframework/play-2.2.1/play

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .