Installing Aptana on Ubuntu 8.04


Quick install guide for Aptana on Ubuntu 8.04.  Modeled after the Installing Aptana Studio on Debian guide found at the Aptana page for Installing Aptana on Linux.  The issue with the guide provided by Aptana (at least for Ubuntu) is that Ubuntu comes with FF 3 Beta 5 (as of the time of this writing) by default.  Aptana doesn’t play nicely with FF 3 Beta 5, and after what appears to be a successful install, spits back an “embedded browser not available” error.  Note: you don’t have to worry about uninstalling FF 3!

  1. Install Java (sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts)
  2. Install Firefox 2 (sudo apt-get install firefox-2)
  3. Download and unzip aptana to /usr/local/aptana
  4. Save the following script as runAptana.sh to /usr/local/aptana
    #!/bin/bash
    export MOZILLA_FIVE_HOME=/usr/lib/firefox
    /usr/local/aptana/AptanaStudio
  5. Make runAptana.sh executable (sudo chmod a+x runAptana.sh)
  6. Create a desktop launcher for Aptana and point it at runAptana.sh
    • Right click on your desktop
    • Click on Create Launcher
    • Name: Aptana
    • Command: browse for runAptana.sh
  7. Open firefox-2 Profile Manager (sudo firefox-2 -ProfileManager)
  8. Create ff Profile “aptana” dedicated for Aptana debugging.
  9. Start ff with the aptana Profile: (sudo firefox-2 -P aptana)
  10. Download from here http://update.aptana.com/update/firebug.xpi and install the firebug extension, modified for Aptana debugging. Close Aptana Profile of firefox.
  11. Start Aptana.
    • Go to Run -> Debug…
    • click on the Web Browser within the left pane
    • Press the ‘New’ button.
    • Within the right pane: Name the new configuration “Firefox”
    • Fill within:
      • Browser executable: /usr/bin/firefox-2
      • Arguments: -P aptana -no-remote
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值