Skip to content

How To Install Aptana Studio 3.4 On CentOS 6.4 - By Example

  • by
Since Aptana runs on JDK, we need to install JDK first on Linux.

Search for JDK packages.
[root@localhost ~]# yum search jdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * updates: mirror01.idc.hinet.net
================================== N/S Matched: jdk ==================================
java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.7.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment
java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment
java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation
java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle
java-1.7.0-openjdk-demo.x86_64 : OpenJDK Demos
java-1.7.0-openjdk-javadoc.noarch : OpenJDK API Documentation
java-1.7.0-openjdk-src.x86_64 : OpenJDK Source Bundle
ldapjdk-javadoc.x86_64 : Javadoc for ldapjdk
icedtea-web.x86_64 : Additional Java components for OpenJDK
ldapjdk.x86_64 : The Mozilla LDAP Java SDK

  Name and summary matches only, use "search all" for everything.
[root@localhost ~]# yum info java-1.7.0-openjdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * updates: mirror01.idc.hinet.net
Available Packages
Name        : java-1.7.0-openjdk
Arch        : x86_64
Epoch       : 1
Version     : 1.7.0.25
Release     : 2.3.10.4.el6_4
Size        : 26 M
Repo        : updates
Summary     : OpenJDK Runtime Environment
URL         : http://openjdk.java.net/
License     : ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with exceptions and
            : LGPL+ and LGPLv2 and MPLv1.0 and MPLv1.1 and Public Domain and W3C
Description : The OpenJDK runtime environment.

Install JDK 1.7.
[root@localhost ~]# yum install java-1.7.0-openjdk
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * updates: mirror01.idc.hinet.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.25-2.3.10.4.el6_4 will be installed
--> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64
--> Processing Dependency: tzdata-java for package: 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64
--> Processing Dependency: rhino for package: 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64
--> Running transaction check
---> Package giflib.x86_64 0:4.1.6-3.1.el6 will be installed
---> Package jpackage-utils.noarch 0:1.7.5-3.12.el6 will be installed
---> Package rhino.noarch 0:1.7-0.7.r2.2.el6 will be installed
--> Processing Dependency: jline for package: rhino-1.7-0.7.r2.2.el6.noarch
---> Package tzdata-java.noarch 0:2013c-2.el6 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.2-9.1.el6 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-9.1.el6.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.2-9.1.el6.noarch
--> Running transaction check
---> Package jline.noarch 0:0.9.94-0.8.el6 will be installed
---> Package ttmkfdir.x86_64 0:3.0.9-32.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================
 Package                  Arch       Version                        Repository   Size
======================================================================================
Installing:
 java-1.7.0-openjdk       x86_64     1:1.7.0.25-2.3.10.4.el6_4      updates      26 M
Installing for dependencies:
 giflib                   x86_64     4.1.6-3.1.el6                  base         37 k
 jline                    noarch     0.9.94-0.8.el6                 base         86 k
 jpackage-utils           noarch     1.7.5-3.12.el6                 base         59 k
 rhino                    noarch     1.7-0.7.r2.2.el6               base        778 k
 ttmkfdir                 x86_64     3.0.9-32.1.el6                 base         43 k
 tzdata-java              noarch     2013c-2.el6                    updates     157 k
 xorg-x11-fonts-Type1     noarch     7.2-9.1.el6                    base        520 k

Transaction Summary
======================================================================================
Install       8 Package(s)

Total download size: 27 M
Installed size: 92 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): giflib-4.1.6-3.1.el6.x86_64.rpm                         |  37 kB     00:00
(2/8): java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64.rpm   |  26 MB     00:45
(3/8): jline-0.9.94-0.8.el6.noarch.rpm                         |  86 kB     00:00
(4/8): jpackage-utils-1.7.5-3.12.el6.noarch.rpm                |  59 kB     00:00
(5/8): rhino-1.7-0.7.r2.2.el6.noarch.rpm                       | 778 kB     00:01
(6/8): ttmkfdir-3.0.9-32.1.el6.x86_64.rpm                      |  43 kB     00:00
(7/8): tzdata-java-2013c-2.el6.noarch.rpm                      | 157 kB     00:00
(8/8): xorg-x11-fonts-Type1-7.2-9.1.el6.noarch.rpm             | 520 kB     00:00
--------------------------------------------------------------------------------------
Total                                                 575 kB/s |  27 MB     00:48
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : jpackage-utils-1.7.5-3.12.el6.noarch                               1/8
  Installing : giflib-4.1.6-3.1.el6.x86_64                                        2/8
  Installing : jline-0.9.94-0.8.el6.noarch                                        3/8
  Installing : rhino-1.7-0.7.r2.2.el6.noarch                                      4/8
  Installing : tzdata-java-2013c-2.el6.noarch                                     5/8
  Installing : ttmkfdir-3.0.9-32.1.el6.x86_64                                     6/8
  Installing : xorg-x11-fonts-Type1-7.2-9.1.el6.noarch                            7/8
  Installing : 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64                8/8
  Verifying  : ttmkfdir-3.0.9-32.1.el6.x86_64                                     1/8
  Verifying  : tzdata-java-2013c-2.el6.noarch                                     2/8
  Verifying  : xorg-x11-fonts-Type1-7.2-9.1.el6.noarch                            3/8
  Verifying  : jline-0.9.94-0.8.el6.noarch                                        4/8
  Verifying  : 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.el6_4.x86_64                5/8
  Verifying  : rhino-1.7-0.7.r2.2.el6.noarch                                      6/8
  Verifying  : giflib-4.1.6-3.1.el6.x86_64                                        7/8
  Verifying  : jpackage-utils-1.7.5-3.12.el6.noarch                               8/8

Installed:
  java-1.7.0-openjdk.x86_64 1:1.7.0.25-2.3.10.4.el6_4

Dependency Installed:
  giflib.x86_64 0:4.1.6-3.1.el6                  jline.noarch 0:0.9.94-0.8.el6
  jpackage-utils.noarch 0:1.7.5-3.12.el6         rhino.noarch 0:1.7-0.7.r2.2.el6
  ttmkfdir.x86_64 0:3.0.9-32.1.el6               tzdata-java.noarch 0:2013c-2.el6
  xorg-x11-fonts-Type1.noarch 0:7.2-9.1.el6

Complete!

Download Aptana Studio 3.
[root@localhost tmp]# cd /tmp
[root@localhost tmp]# wget http://download.aptana.com/studio3/standalone/3.4.1/linux/Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zip
--2013-07-31 18:04:45--  http://download.aptana.com/studio3/standalone/3.4.1/linux/Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zip
Resolving download.aptana.com... 173.45.236.129
Connecting to download.aptana.com|173.45.236.129|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://d1iwq2e2xrohf.cloudfront.net/tools/studio/standalone/3.4.1.201306062137/linux/Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zip [following]
--2013-07-31 18:04:46--  http://d1iwq2e2xrohf.cloudfront.net/tools/studio/standalone/3.4.1.201306062137/linux/Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zip
Resolving d1iwq2e2xrohf.cloudfront.net... 54.230.75.53, 54.230.75.241, 54.230.73.108, ...
Connecting to d1iwq2e2xrohf.cloudfront.net|54.230.75.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 129724758 (124M) [application/zip]
Saving to: a€?Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zipa€

100%[============================================>] 129,724,758  706K/s   in 3m 7s

2013-07-31 18:07:53 (677 KB/s) - a€?Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zipa€

Unzip Aptana Studio 3
[root@localhost tmp]# unzip Aptana_Studio_3_Setup_Linux_x86_64_3.4.1.zip
inflating: ...
...
[root@localhost tmp]# ls -l
...
drwxrwxr-x. 9 root root      4096 Jun  7 18:56 Aptana_Studio_3
...

Move the unzipped directory to /usr/local
[root@localhost tmp]# mv Aptana_Studio_3 /usr/local/
[root@localhost tmp]# cd /usr/local/Aptana_Studio_3/
[root@localhost Aptana_Studio_3]# ls
about_files    AptanaStudio3.ini  configuration  features            libcairo-swt.so  plugins
about.html     AptanaStudio3.sh   dropins        full_uninstall.txt  notice.html      readme
AptanaStudio3  artifacts.xml      epl-v10.html   icon.xpm            p2               version.txt

Create a desktop entry in GNOME.
[root@localhost Aptana_Studio_3]# vi /usr/share/applications/aptana-studio-3.desktop
#Add following text in the file.
[Desktop Entry]
Name=Aptana Studio 3
Exec=/usr/local/Aptana_Studio_3/AptanaStudio3
Icon=/usr/local/Aptana_Studio_3/icon.xpm
Type=Application
Categories=Development

Try this entry by yourself.

Leave a Reply

Your email address will not be published.