在Ubuntu系统安装Sencha CMD
Posted 代码很疯狂
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在Ubuntu系统安装Sencha CMD相关的知识,希望对你有一定的参考价值。
Now type from the terminal prompt followed by Enter:
1
|
[email protected]:cd /java
|
1
|
[email protected]:tar zxvf server-jre-8u60-linux-x64.tar.gz
|
Make sure that the ‘tar.gz’ full filename is typed exactly as the name of the downloaded distrubution. Don’t make any mistakes here! So the example above might not correspond with your file name.
Now we have to make Java work, we do this by typing this from the terminal prompt:
1
|
[email protected]:export INSTALL4J_JAVA_HOME=/usr/bin/java/jdk1.8.0_60
|
Again, the name after ‘JAVA_HOME=’ might not correspond with your installed Java. To make sure you have the right one, type:
1
|
[email protected]:ls /usr/bin/java
|
You will find the name next to your ‘tar.gz’ file. You can also delete the ‘tar.gz’ file to save space.
Step 3: Install Sencha Cmd
Before we do the final step I would give again some critics to Sencha Inc. for not having a proper installation manual for Sencha Cmd for Linux on their website. “Half work done counts as no work done”. Ok, let’s do the last bit.
First download Sencha Cmd from here: link
Save the ‘zip’ file in your default Downloads location. If you don’t have an ‘unzip’ installed in Debian Jessie, you can install ‘Ark’ with the Synaptic Package Manager. After that said, you unpack the Sencha Cmd ‘zip’ file. You can do this in the same Downloads folder. It will unpack a file with the .sh extension.
Now go to your terminal prompt and type:
1
|
[email protected]:sh /home//Downloads/Sencha*
|
Now it will install Sencha Cmd. You will get an warning complaining:
1
|
Gtk-Message: Failed to load module "canberra-gtk-module"
|
You can ignore this.
Finally add Sench Cmd to your PATH. Type this from your terminal prompt:
1
|
[email protected]:export PATH=/root/bin/Sencha/Cmd/6.0.1.76:$PATH
|
Make sure that the Sencha version in the PATH corresponds with the one you just installed. Simply type:
1
|
[email protected]:ls /root/bin/Sencha/Cmd
|
Now it will show you the version you have installed.
If everything has gone well you can now go to your Sencha Ext JS or Touch application folder and type something like “Sencha app watch” or any other Sencha Cmd instruction.
引用:https://www.enovision.net/how-to-install-sencha-cmd-on-debian-jessie/
以上是关于在Ubuntu系统安装Sencha CMD的主要内容,如果未能解决你的问题,请参考以下文章
翻译探究Ext JS 5和Sencha Touch的布局系统