Now type from the terminal prompt followed by Enter:

 
1
root@prompt:cd /java
 
1
root@prompt: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
root@prompt: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
root@prompt: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
root@prompt: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
root@prompt: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
root@prompt: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的更多相关文章

  1. ubuntu系统安装初始化脚本

    ubuntu系统安装初始化脚本 经常安装卸载ubuntu,每次系统安装完成后要安装好多软件,一个个命令输很麻烦浪费时间,一个sh文件全搞定! 1. flashplayer下载:点击这里 2. Auda ...

  2. ubuntu系统安装软件方法

    ubuntu系统安装软件方法 ubuntu下安装软件有三种方式,分别为在线安装apt-get方式,软件商店安装方式和 1. 软件商店安装方式 这种方式对经常使用windows系统的同学来说最为简单,因 ...

  3. mac下使用sencha cmd+extjs6

    笔者刚接手公司一个项目,后台是使用extjs6做前端,php做api接口,两者通过ajax交互 没办法,不管接手的项目多么的挫逼,都还是要上的,拿人钱财替人消灾嘛 首先是安装sencha cmd ,百 ...

  4. 使用sencha cmd 一键生成你的应用程序代码

    一键生成你的应用程序代码: ------------------------------------------------------------ 我们的出发点就是使用命令来产生一个应用程序,执行以 ...

  5. [ExtJS5学习笔记]第三节 sencha cmd学习笔记 生成应用程序构建的内部细节

    本文地址: http://blog.csdn.net/sushengmiyan/article/details/38316829本文作者:sushengmiyan------------------- ...

  6. Sencha Cmd是什么

    Sencha Cmd的简介 ~~~~~~~~~~~~~~~~~~~~~~~ Sencha cmd 是一个跨平台的命令行工具,它从你应用程序的新创建到部署入产品中的整个生命周期都提供了许多自动化的执行任 ...

  7. Ubuntu系统安装配置Pintos和Bochs

    Ubuntu系统安装配置 Pintos 和 Bochs 安装过程 首先是UEFI启动模式下Win8.1安装Ubuntu14.04双系统,由于篇幅过长,就不在这里详写.可见博主的另一篇博客http:// ...

  8. Sencha CMD 4- 安装与首次使用

    哥英文不好,网上搜索好多中文教程都是抄来抄去没有完整的介绍.所以写出来让与我一样的小伙伴惊呆下! 这篇主要是安装,后续慢慢更新 一.Sencha CMD是干啥滴!? 它是服务使用EXTJS SDK开发 ...

  9. 阿里云服务器 ECS Ubuntu系统安装配置

    1. 登陆服务器 系统开通成功后手机会收到阿里云发来的短信,包含公网IP及root登录密码. WEB管理后台方式 可通过阿里云管理后台选择“连接管理终端…”进行登录 提示输入VNC密码 登录成功后显示 ...

随机推荐

  1. 【一天一道LeetCode】#87. Scramble String

    一天一道LeetCode 本系列文章已全部上传至我的github,地址:ZeeCoder's Github 欢迎大家关注我的新浪微博,我的新浪微博 欢迎转载,转载请注明出处 (一)题目 Given a ...

  2. 使用github管理你的代码

    关于为什么使用github,网上已经有很多讨论了.当然选择还有google code, Bitbucket,sourceforge.github有如下优势: 1. github更有利于开源项目的发展 ...

  3. python字符串与数字类型转化

    数字转字符串:str(数字),如str(10) 相反:int(字符串),如int('10') 另外,import string后 用string.atoi('100',base),转换为int,bas ...

  4. Linux多线程实践(6) --Posix读写锁解决读者写者问题

    Posix读写锁 int pthread_rwlock_init(pthread_rwlock_t *restrict rwlock, const pthread_rwlockattr_t *rest ...

  5. Zookeeper运维

    一.运维配置         参考:http://zookeeper.apache.org/doc/r3.4.6/zookeeperAdmin.html#sc_configuration 基础配置   ...

  6. UIEvent UIResponder UI_04

    1.事件(UIEvent),是由硬件设备捕捉到用户对设备的操作,把这个操作抽象成一个事件对象     ios中三大事件:触Touches摸晃动事件Motion,远程控制事件RemoteControl: ...

  7. (NO.00001)iOS游戏SpeedBoy Lite成形记(二十七)

    切换回Xcode,在GameScene.m中添加新的实例变量:_winLayer. 接下来在第一个选手到达终点时,我们可以完成选手胜利的动画特效了. 首先,在GameScene.m中添加一个新方法pl ...

  8. Leetcode_36_Valid Sudoku

    本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/42528601 Determine if a Sudoku ...

  9. python的exec

    exec "一条python语句" 这样会执行python 语句.用于执行储存在字符串或文件中的Python语句. 当然 也可以 用 exec(str)这种方式, 总之一句话,尽量 ...

  10. Cocos2D遍历场景图(Scene Graph)

    另一个Cocos2D有用的调试特性是打印出递归的打印出节点的孩子们. 你可以添加以下一行到MainScene或GameScene的didLoadFromCCB的方法中: [self.scene wal ...