How to install Aptana Studio 3.3.2 in Ubuntu 12.10 (Quantal Quetzal)

Out of date content ahead!

This post is from 2012 and is now very out of date.

Prerequisites

Before anything else, install the prerequisites:

sudo apt-get install openjdk-7-jre libwebkitgtk-1.0-0 git-core

Although Aptana Studio doesn’t officially support OpenJDK, I’ve yet to encounter any problem using OpenJDK with Aptana Studio.

If you would rather use the Sun Java instead, do the following:

sudo apt-get install libwebkitgtk-1.0-0 git-core

# Java source: http://goo.gl/X0J6e
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Installing Aptana Studio

In order to make the installation of Aptana Studio easier, I’ve created a small shell script to do the work.

  1. Download the script

    wget https://www.samclarke.com/wp-content/uploads/2012/12/AptanaStudioInstall.sh
    The source of the above shell script is available here or as a Gist here

  2. Give the script executable permissions

    chmod +x AptanaStudioInstall.sh

  3. Run it

    sudo ./AptanaStudioInstall.sh

Alternatively you can do steps 1-3 as a single command:

wget https://www.samclarke.com/wp-content/uploads/2012/12/AptanaStudioInstall.sh && chmod +x AptanaStudioInstall.sh && ./AptanaStudioInstall. 

This script requires root privileges in order to install Aptana Studio. If the script is run without root privileges, it will ask for your password to gain them.

You need JavaScript enabled to see comments.