views:

425

answers:

4

I have copied zipped file from the playframework.org website and unzipped it at a location. I have inserted it in my .bashrc profile to set up as PATH environment.

But still, the play command is not accessible from anywhere.

And even in the installed directory of the framework, the play file is not running as it is.

I have to prefix python before any play command to run it.

Am i making a mistake somewhere?

Please help me.

+2  A: 

Suppose that the path of the play directory is /home/yourName/play

open the terminal and type the following

PATH=$PATH:/home/yourName/play

export PATH

then you will be able to access play command from anywhere

best regards

Fanooos
+2  A: 

Got the answer! Move the unzipped play folder into opt directory by typing

sudo mv play-1.0.1 /opt/play

and then give another command

source /etc/profile

And now one can run play command from anywhere in the shell..

Shekhar
+2  A: 

try to download the debian package from here

http://download.playframework.org/miscellaneous/

best regards

Fanooos
A: 
source ~/.bashrc #would have done the trick probably
qeek