How To Install Aptana Studio In Ubuntu Intrepid

install-aptana-ubuntu

For those who have read my review of Aptana and wish to install it in Ubuntu 8.10, here is how you can do so. While the installation is not as straightforward as it should be, the overall process is not that difficult either.

The instruction below is meant for 32-bit machine. If you are using a 64 bit machine, you’ll have to install Eclipse with the Aptana plugin.

1. Download Aptana for Linux

2. Unzip the Aptana tar file to your Home folder.

3. Install the dependencies:

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

4. Open up a text editor and paste the following lines to the file.

#!/bin/bash
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/home/damien/aptana/AptanaStudio  #filepath to Aptana folder

Change the filepath to the location where you place the Aptana folder. Save the file as runAptana.sh in the Aptana folder.

5. Right-click on the runAptana.sh file and select Properties. Go to the Permissions tab. Check the box “Allow executing file as program

aptana-permissions

That’s it. Whenever you want to run Aptana, simply double click on the runAptana.sh file.

Creating Desktop and Menubar shortcut (Optional)

You can also create a shortcut on your desktop or the menubar so that you can easily access it when you want to use it.

- Right-click on the menubar and select Edit Menus

- On the left pane, scroll down till you find the Programming entry. Click on it.

- On the right, click on the “New Item” button. Enter the following:

aptana-entry

For the Aptana icon, you can either use your own icon, or download the official iconset here

Close all the windows. You should be able to find the Aptana launcher in Applications->Programming->Aptana.

To create a desktop shortcut, simply drag the Aptana launcher from the menubar to the desktop. If you are using any dock applications, you can also drag and drop the launcher to the dock.

Didn’t I say it is easy?

Damien Oh is the owner and chief editor of Make Tech Easier

Tags: , , ,

 

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

2 pingbacks/trackbacks (Click to open)

29 Responses

  • LinuxGurl says:

    Thank you very much. I have had bad luck with running Dreamweaver 8 under wine for a while, and eventually gave up and ended up booting into Windows to use it. It really made me kind of sad to do so. I have been trying to find a program that I could use that would do the same thing that Dreamweaver does without the glitches that it produced under wine.
    Although, I will say part of your walk through on installation confused me for a bit. Its the part in the bash script where you comment that its the path to the folder, when it’s the path to the program. Because I thought it was the path to the folder itself (I’m very much a novice when it comes to bash scripts) I left out “AptanaStudio”, and of course, it didn’t work. I realized my mistake (after adding it to the menu and everything) and corrected it.
    I just wanted to share that part as to let other people know in case someone makes the same mistake that I did.
    Thank you very much for sharing this.

    Reply

  • momo says:

    oh…i had the same problem… ’cause i’m a n00b :p
    i though that i needed to put the path in there…well…aptana is an incredible program…and it’s completely free!!!i didn’t know about it! thank u for the news!!!

    Reply

  • trappedIntoCode says:

    Hi. thanks for the article.
    I tried all above steps, my aptana dir is: /home/neo/aptana.

    When I run runAptana.sh from nautilus, nothing happens.

    When I try to run it from terminal, i get permission denied,
    even after running as sudo. :(

    Can u please help?

    Reply

  • trappedIntoCode says:

    Solved the problem.

    I added “/home/neo/aptana” in runAptana.sh,
    I should have added “/home/neo/aptana/AptanaStudio”

    Thanks again for the article.

    Reply

  • Simo says:

    Hi, Thanks for the Tuto

    Reply

  • kapicreative says:

    Want to express my gratitude for the help provided. Managed to install Aptana as per your instructions and hey presto it’s up and running. . . pitty aptana doesn’t provide a .deb format. Kind of irrelevant though now because of your instructions.

    Book marking your site as we speak . . . Thankyou again

    Reply

  • Conrad says:

    Thank you very much!

    Reply

  • trimalap says:

    Works very well for Ubuntu Jaunty 9.04

    Reply

  • trimalap says:

    Just create the runAptana.sh file and set the permissions. Works well on Ubuntu Jaunty 9.04

    Reply

  • Mini0n says:

    A million thanks man! You saved my life! =)

    RSSed!

    Reply

  • Charles says:

    Thank you so much! I’ve been trying to find a no cost alternative to Zend Studio. I have been having a real hell of a time getting Aptana to run. It said I needed Java 1.5 or above (which I guess in JRE5). I had that installed, but it still kept telling me I didn’t. But now it works great.

    Reply

  • Bob says:

    I’m still getting a permissions denied error and I have validated that my paths are correct. Any ideas?

    Reply

    LinuxGurl Reply:

    Only thing I would suggest that you double check is the permissions on the runAptana.sh script and make sure that you have the box checked to allow executing it as a program. You could also make sure that you are the owner of the file. *shrugs* I hope that might help you.

    Reply

  • Noel says:

    Thanks alot! Four hours after I started I found your site, and it did make it easy :)

    Reply

  • Chaz10 says:

    Holy crap something worked for me.. Thanks man

    Reply

  • Hippyjim says:

    Thanks – this saved my sanity.

    After yet another trojan infection on my windows partition, I was reluctantly spending hours trying to get a workable code environment – only to have that turned into minutes by your guide.

    Thanks!

    Reply

  • Licid says:

    Great tutorial on getting this thing up and running!!

    You might also need to mark AptanaStudio file as an executable one. At least, I had to do that in order for this to work.

    Thanks a lot!

    Reply

  • JF says:

    Thank you!

    Reply

  • CibyDesign says:

    Expressing my thanks in your guide for getting this working – as with all the other replies, you MUST make sure that your path to the aptana installation as mentioned in the runAptana.sh script includes the AptanaStudio executable (or what you call it)

    mine is /home/cibydesign/aptana/AptanaStudio.

    Works great on Jaunty!

    Reply

  • Craig says:

    Brilliant! This was exactly the resource I was looking for! Helped me greatly :)

    Reply

  • Aptana and Ubuntu make a great web development platform. Perhaps you and your readers would be interested to find out about WireframeSketcher wireframing/prototyping plugin. I’ve recently added support for Aptana Studio 1.5 so give it a try. I should mention that it’s a commercial product but I give away free licenses to open-source developers, bloggers, non-profits and others.

    Reply

  • Janos says:

    I meet the same problem as Bob: “permission denied” when I try to run runAptana.sh. I already checked the path, it’s correct. My path is “home/myname/applications/aptana/AptanaStudio.

    It is easy up to this guide, and almost everyone have not any problem. Except me and a few other guys…

    Reply

    Janos Reply:

    I had come out where I am wrong. Just have to add one more “AptanaStudio” at the end of path.

    Reply

  • 5tick says:

    Many thanks for the tutorial, made installing Aptana alot easier :]

    Reply

  • OVO says:

    I get an “ELF not found error” when trying to run the Aptana.sh script. I’ve followed all the instructions on your site but nothing seems to working for me. I would greatly appreciate any assistance offered.

    Reply

    Damien Reply:

    Make sure that in the Aptana.sh script, the filepath pointing to the Aptana application is correct.

    Reply

  • Jeremy Moore says:

    GREAT NEWS : Aptana Studio 1.5 no longer requires these steps! Simply extract the contents of the download Aptana archive to ‘/usr/local/aptana’ and (optionally) create a menu entry to point to ‘/usr/local/aptana/AptanaStudio’ and you’re done!

    Sweet, huh? I know.

    Reply

  • AbioticRhyme says:

    Thank you very much. This is what I needed.

    Reply

  • Hamsterbacke says:

    Thanks for the guide, helped a lot.

    Reply

Leave a Comment




 

Sign in with Twitter

Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again