Installing Aptana on Mandriva 2007

How to install Aptana on Mandriva 2007 without installing eclipse first

(Important: In this HOW-TO, I'm assuming that you download the files in your Desktop)

Install mozilla:

  • You need to change to root:
  • You need to install the package, otherwise Aptana will fail in the launching process, so you better install it now and forget about it. If you have your fonts properly configured:

  • Copy the file to the right location
cp ./Desktop/mozilla-i686-pc-linux-gnu-1.7.8-gtk2+xft.tar.gz /usr/local
  • Move to the right location
cd /usr/local
  • Unpack the files:
tar xvf mozilla-i686-pc-linux-gnu-1.7.8-gtk2+xft.tar.gz
  • Set the environment variable MOZILLA_FIVE_HOME
export MOZILLA_FIVE_HOME=/usr/local/mozilla
  • The MOZILLA_FIVE_HOME variable will be create it only temporally and will only work for the first time you launch Aptana. To make it work forever, what you need is to paste the command inside the /etc/profile (you can paste it after the line NLSPATH=/usr/share/locale/%l/%N). So, to edit the file:
vi /etc/profile


kwrite /etc/profile

and paste the following text after NLSPATH=/usr/share/locale/%l/%N :

export MOZILLA_FIVE_HOME=/usr/local/mozilla
  • To exit from the root prompt:

Install Aptana:

As your usual user type:

cd Desktop
cp Aptana_IDE_Setup.bin Aptana_IDE_Setup.bin.bak
cat Aptana_IDE_Setup.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > Aptana_IDE_Setup.bin
  • Give the file execution permision by the command:
chmod u+x Aptana_IDE_Setup.bin
  • Run the installer and follow it, saying next to everything:
  • Launch the Aptana in the location you've install it (by default):
  • "aptana" should also work:

Putting Aptana in Mandriva Menu

  • New Element
  • Name: Aptana
  • Command: $HOME/Aptana/aptana

I hope you gain the week I've lost !! Good luck !