Before anything else, install the prerequisites
Before anything else, install the prerequisites
sudo apt-get install openjdk-7-jre libwebkitgtk-1.0-0 git-core
To use the Sun Java instead, do the following:
sudo apt-get install libwebkitgtk-1.0-0 git-core 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 installation of Aptana Studio easier I’ve put i into a small shell script.
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
Or to do all of the above as a single command:
wget https://www.samclarke.com/wp-content/uploads/2012/12/AptanaStudioInstall.sh && chmod +x AptanaStudioInstall.sh && ./AptanaStudioInstall.sh
If the script isn’t run with root privileges (using sudo) it will ask you for your password so it can run with root privileges to install Aptana Studio.
来源:http://www.samclarke.com/2012/12/how-to-install-aptana-studio-3-3-1-in-ubuntu-12-10-quantal-quetzal/