在Ubuntu 9.10中安装play-framework [英] install play-framework in Ubuntu 9.10

查看:86
本文介绍了在Ubuntu 9.10中安装play-framework的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从playframework.org网站复制了压缩文件,并在某个位置将其解压缩. 我已将其插入.bashrc配置文件中,以设置为PATH环境.

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.

但是,仍然无法从任何地方访问play命令.

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.

我必须在运行任何播放命令之前为python加上前缀.

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

我在某处犯错了吗?

请帮助我.

推荐答案

知道了答案! 通过输入

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

sudo mv play-1.0.1 /opt/play

然后发出另一个命令

source /etc/profile

现在,您可以在外壳中的任何位置运行播放命令.

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

这篇关于在Ubuntu 9.10中安装play-framework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆