LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神,可以点击顶部导航 Contact 按钮进行投稿。

Related entries

  • No related posts

Howto:在 Ubuntu Dapper 中安装 Aptana

Aptana 号称是 Web 2.0 IDE,主要聚焦于 JavaScript、HTML、CSS 的开发。个人使用最强烈的感受是,它的代码助手功能超级好用,能够大大的提高编码效率。本 Howto 将提供其在 Ubuntu 中的安装指导。

Aptana

  1. 下载 Aptana for Linux,当前版本为 0.2.4。使用我们之前介绍的 Axel 将为你节省不少下载时间。
  2. 准备使用依赖,运行 Aptana 需要安装 Mozilla 和 libswt3.1。

    sudo apt-get install mozilla
    sudo apt-get install libswt3.1-gtk-java

  3. 让先前下载的 Aptana_IDE_Setup_Current.bin 文件具有可执行权限。

    chmod +x Aptana_IDE_Setup_Current.bin

  4. 执行 sudo ./Aptana_IDE_Setup_Current.bin,按照安装向导完成安装。
  5. touch aptana
    sudo vim aptana

    然后,输入下列内容:

    #/usr/bin
    export MOZILLA_FIVE_HOME=/usr/lib/mozilla
    /opt/aptana/aptana

    注意,最后一行需要根据你的 aptana 实际安装路径作出相应修改。

  6. chmod 755 aptana
  7. 最后将 aptana 复制到 /usr/bin:sudo cp aptana /usr/bin/

(Via BrianPedigo.info, thanks!)

署名 • 注明出处 • 非商业性使用

8 Comments

  1. 1 leechael Commented @ 2006-09-07 10:40 pmReply to this comment

    Good!
    找个时间尝试一下:)

  2. 2 幽火 Commented @ 2006-09-08 10:04 amReply to this comment

    问个问题,我安装的fluxbox前段时间用的好好的,但是最近怎么没有声音了,我看电影的时候没有声音,郁闷死我了.这是怎么回事阿?

  3. 3 幽火 Commented @ 2006-09-08 10:05 amReply to this comment

    对了,不只是看电影,出了EVA可以发出声音以外,其他的都没有声音了.用fceu玩FC游戏也没声音.

  4. 4 Toy Commented @ 2006-09-08 6:36 pmReply to this comment

    你看使用 alsamixer 能否调整?

  5. 5 r906 Commented @ 2006-09-08 6:46 pmReply to this comment

    正解燃眉之急

  6. 6 leechael Commented @ 2006-12-23 8:15 pmReply to this comment

    grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /tmp/install.dir.5921/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

    不知道缺的是哪个包呢?向 xxd 请教了!

  7. 7 leechael Commented @ 2006-12-23 8:28 pmReply to this comment

    解决了。看来是我习惯性的求助发问了……

  8. 8 fackweb Commented @ 2007-02-01 9:51 amReply to this comment

    郁闷了嘎。。。为什么 装 aptana 的依赖环境都 没法装啊 ?
    有谁帮忙看看嘎 。。。

    1、输入sudo apt-get install mozilla 执行成功
    2、输入sudo apt-get install libswt3.1-gtk-java 出错如下:

    下列的软件包有不能满足的依赖关系:
    libswt3.1-gtk-java: 依赖: libswt3.1-gtk-jni (= 3.1.2-1ubuntu6) 但是它将不会被安装

    3、输入sudo apt-get install libswt3.1-gtk-jni 出错如下:
    下列的软件包有不能满足的依赖关系:
    libswt3.1-gtk-jni: 依赖: libgcj7-awt (>= 4.1.0) 但是它将不会被安装

    4、输入sudo apt-get install libgcj7-awt 出错如下:

    下列的软件包有不能满足的依赖关系:
    libgcj7-awt: 依赖: gcj-4.1-base (= 4.1.0-1ubuntu8) 但是 4.1.1-14ubuntu7 正要被安装

    5、输入sudo apt-get install gcj-4.1-base 信息如下:gcj-4.1-base 已经是最新的版本了。
    共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 2 个软件未被升级。

    可是再反过来执行还是不行啊!!! 江湖救急啊///