Installing Aptana Studio on Ubuntu 8.10 or Xubuntu 8.10

This is a quick guide to install Aptana Studio 1.2.1.020234 on Ubuntu 8.10 or Xubuntu. It was done on Xubuntu 8.10 but should be the same on Ubuntu as well.

Installation

First get Aptana : HERE. Unzip it to your home folder.

Install JRE :

sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

For some reason you need Firefox 2 to be able to run Aptana Studio :

sudo apt-get install vim
sudo mv /etc/apt/sources.list /etc/apt/sources.list.original
sudo vi /etc/apt/sources.list

And copy paste this :

deb http://archive.canonical.com/ubuntu hardy partner
deb http://br.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ hardy-security universe main multiverse restricted
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe main multiverse restricted
deb http://packages.medibuntu.org/ hardy free non-free

Then do :

sudo apt-get update
sudo apt-get install firefox-2

Now firefox-2 should be installed along with firefox-3

Now rollback to your original source.list :

sudo mv /etc/apt/sources.list.original /etc/apt/sources.list
sudo apt-get update

Now Aptana should work 100%.