how do I install Aptana Studio 3 in Ubuntu 14.04 LTS?

I'm trying to install Aptana Studio 3 in Ubuntu 14.04 LTS and would like to know the best possible way to do so.


Solution 1:

This is how I got it done.

First thing to do is to download Aptana Studio. Make sure that you download the right file for your architecture, 64bit or 32bit. Once downloaded, make sure that the prerequisites are installed, before installing Aptana Studio.

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer    
sudo apt-get install libjpeg62 libwebkitgtk-1.0-0 git-core

With terminal still open, navigate to where you downloaded Aptana Studio, probably the Downloads folder, and run the following command(s):

For 64bit

sudo unzip Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip -d /opt 

For 32bit

sudo unzip Aptana_Studio_3_Setup_Linux_x86_3.6.1.zip -d /opt 

At this point Aptana Studio is fully installed, but it will not appear in Dash.

Oracle Java installation compliments of Webupd8

In order to get the Aptana Launcher icon and make it show-up in dash, create the following .desktop file with the following text in it:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Aptana Studio 3
GenericName=Integrated Development Environment
Comment=Aptana Strudio 3 Integrated Development Environment
Exec=/opt/Aptana_Studio_3/AptanaStudio3 %F
TryExec=/opt/Aptana_Studio_3/AptanaStudio3
Icon=/opt/Aptana_Studio_3/icon.xpm
StartupNotify=true
StartupWMClass="Aptana Studio 3"
Terminal=false
Type=Application
MimeType=text/xml;application/xhtml+xml;application/x-javascript;application/x-php;application/x-java;text/x-javascript;text/html;text/plain
Categories=GNOME;Development;IDE;

And save it to /usr/share/applications