Aptana

·

After getting to know about Aptana‘s existence via João Pedro Pereira, I decided to take a look and install it on my Ubuntu box.

The instalation runs smoothly, but there’s some tricks here and there that should have been documented. So, here’s a little tutorial for the rescue:

  • Download the install file from here.
  • Open a terminal window
  • Aptana has dependencies so you’ll need to install Mozilla and libswt3.1
  • sudo apt-get install mozilla
  • sudo aptitude install libswt3.1-gtk-java
  • Chmod the install file to make it executable – chmod +x Aptana_IDE_Setup.bin
  • Excecute the file – ./Aptana_IDE_Setup.bin
  • Now, the installation should be easy, just read and answer the wizard’s questions until it’s finished
  • Aptana needs a environment variable set for mozilla so we’ll have to code ourselfs a little script in order to set the variable evert time we need to run Aptana and not just once inside the terminal window.


    touch aptana
    sudo gedit aptana

    Now copy this

    #/usr/bin
    export MOZILLA_FIVE_HOME=/usr/lib/mozilla
    ~/Aptana/aptana

    and save the file.

  • Chmodit so it can be executed. – chmod 755 aptana
  • Now you can copy it to /bin – sudo cp aptana /bin/

You’re ready to go! You can even create a menu launcher and use this nifty icon I made.


Aptana Icon

Enjoy!

[tags]Aptana, Ubuntu, Linux, IDE, How to, HTML, Javascript, CSS[/tags]

Comments

15 responses to “Aptana”

  1. Ingo Muschenetz Avatar

    Thank you for the great instructions. We’ve posted a copy on our linux installation forum, and we’ll use this to make the install process simpler for Linux. Thanks again!

  2. Odrakir Avatar

    That looks like the error I got when the environment variable set for mozilla was only defined in the terminal window. Check if you are really calling the script and not the Aptana binary inside the Aptana directory. If you are using Eclipse, the workspace directory might be conflicting with Aptana, check for names or change name of the Eclipse workspace directory.

  3. Piero Recchia Avatar
    Piero Recchia

    Sorry, i was calling the binary inside the Aptana directory, i modified it and all rigth, thanks, already i can run the aptana.

  4. Erik Avatar

    Great help! You would think the developers would give a good tutorial such as yours. Thanks a lot!

  5. harrisony Avatar
    harrisony

    Hi can you help me
    i have installed it and upto creating the launcher
    when i do
    “sudo gedit aptana”
    it always says ‘Could not open the file /home/harrisony/aptana.”
    Can you help me thanks
    harrison

  6. […] Houve, contudo, entraves: o Aptana (que já tinha instalado em Ubuntu em menos tempo do que o que demorei a fazer o download, graças a este tutorial) persistia em apresentar um erro na instalação; a aplicação para adicionar e remover programas nem sempre funcionava bem; o sistema, por vezes, falhava – inexplicavelmente e sem qualquer erro – o lançamento de aplicações. […]

  7. Mike Avatar

    Thanks a bunch, that made life alot easier for a noob.

    one question though I got the same error as Piero Recchia, I can run it using Alt F2, but how do i add it to my applications menu?