找不到Sencha CMD Linux命令 [英] Sencha CMD Linux command not found

查看:387
本文介绍了找不到Sencha CMD Linux命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在xUbuntu中安装Sencha-Cmd-6.0.2.14.

I'm trying to install Sencha-Cmd-6.0.2.14 in xUbuntu.

我下载了SenchaCmd-6.0.2-linux-amd64.sh.zip并将其解压缩到我的桌面上.

I downloaded SenchaCmd-6.0.2-linux-amd64.sh.zip and unzipped it to my desktop.

我通过执行sudo apt-get install default-jdk -y安装了Java.

I installed Java by executing sudo apt-get install default-jdk -y.

然后我执行了./SenchaCmd-6.0.2.14-linux-amd64.sh.出现安装窗口,我成功完成了该过程.

Then I executed ./SenchaCmd-6.0.2.14-linux-amd64.sh. The installation window appeared and I successfully went through the process.

完成后,我在命令提示符下键入了sencha,但出现了找不到命令的错误.

Upon completion, I typed in sencha at the command prompt but I got a command not found error.

推荐答案

Sencha可能不在$ PATH中,我不确定它的安装位置,但可能在主目录中.通过在终端中发出以下命令,确保Sencha安装目录不在$ PATH中

Sencha is probably not in your $PATH, I'm not sure where it installs but probably somewhere in your home directory. Make sure the Sencha install directory is not in your $PATH by issueing the following command in your terminal

echo $PATH

假设您现在使用bash和sencha是您的$ PATH,例如,将其添加到〜/.bashrc

Assuming you use bash and sencha is now your $PATH, add, for example, this to your ~/.bashrc

export PATH=$PATH:~/sencha/cmd/6.0.2.14/bin

您需要自己找到正确的路径.那应该可以解决问题.

You need to find the correct path yourlself. That should do the trick.

这篇关于找不到Sencha CMD Linux命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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