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/aptanaand 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.

Enjoy!
[tags]Aptana, Ubuntu, Linux, IDE, How to, HTML, Javascript, CSS[/tags]
Comments
15 responses to “Aptana”
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!
i follow that instructions, but i got an error, you can see it here: http://www.mercal.gov.ve/log.txt
can you help me?
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.
Sorry, i was calling the binary inside the Aptana directory, i modified it and all rigth, thanks, already i can run the aptana.
Thank you so much for this wonderfull walkthrough!
Great help! You would think the developers would give a good tutorial such as yours. Thanks a lot!
Thanks!
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
[…] 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. […]
thanks! It worked with me! 🙂
[…] I would take a mo to share the method we had to use to get it to work on Ubuntu. Many thanks to odrakir.com for doing 99% of this (that I shamelessly lifted), and to the ubuntu forums for the sed […]
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?
[…] casa he instalado la aplicación de forma independiente en un Ubuntu, siguiendo esta guia. Estoy muy familiarizado con Eclipse, ya que lo utilizo a diario en el trabajo. Por tanto, me ha […]
[…] casa he instalado la aplicación de forma independiente en un Ubuntu, siguiendo esta guia. Estoy muy familiarizado con Eclipse, ya que lo utilizo a diario en el trabajo. Por tanto, me ha […]
[…] casa he instalado la aplicación de forma independiente en un Ubuntu, siguiendo esta guia. Estoy muy familiarizado con Eclipse, ya que lo utilizo a diario en el trabajo. Por tanto, me ha […]