Sencha CMD Linux command not found

ぐ巨炮叔叔 提交于 2019-12-25 11:40:09

问题


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

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

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

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

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


回答1:


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

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.



来源:https://stackoverflow.com/questions/35400680/sencha-cmd-linux-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!