How to install aptana studio 3 in Ubuntu
To install aptana studio 3 in Ubuntu 16.04
Aptana Studio is a tools in the free Web editor market. Its the main function in Ajax development environment. Installation of Aptana studio 3 in Ubuntu is explained in this article.
To install aptana studio
Before installing Aptana, add java repo file by using “ add-apt-repository” command.
root@linuxhelp:~# add-apt-repository ppa:webupd8team/java Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA. More info (and Ubuntu installation instructions): - for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html - for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html Debian installation instructions: - Oracle Java 7: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html - Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpwdo5gmbh/secring.gpg' created gpg: keyring `/tmp/tmpwdo5gmbh/pubring.gpg' created gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpwdo5gmbh/trustdb.gpg: trustdb created gpg: key EEA14886: public key " Launchpad VLC" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
Update apt source, using “ apt-get update” command.
root@linuxhelp:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:4 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial InRelease
Hit:5 http://ppa.launchpad.net/gns3/ppa/ubuntu xenial InRelease
Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:7 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease [17.6 kB]
Get:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 Packages [2,868 B]
Get:9 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main i386 Packages [2,868 B]
Get:10 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main Translation-en [1,260 B]
Fetched 119 kB in 2s (54.7 kB/s)
Reading package lists... Done
Install java by using the following command.
root@linuxhelp:~# apt-get install oracle-java7-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gsfonts-x11 java-common
Suggested packages:
binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core ttf-kochi-gothic
| ttf-sazanami-gothic ttf-kochi-mincho | ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:
gsfonts-x11 java-common oracle-java7-installer.
.
.
.
Oracle JDK 7 installed
update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
Oracle JRE 7 browser plugin installed
Setting up gsfonts-x11 (0.24) ...
Next install dependency files for aptana studio.
root@linuxhelp:~# apt-get install libjpeg62 libwebkitgtk-1.0-0 git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git git-man liberror-perl libjavascriptcoregtk-1.0-0 libwebkitgtk-1.0-common
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb
.
.
.
Setting up libjavascriptcoregtk-1.0-0:amd64 (2.4.11-0ubuntu0.1) ...
Setting up libwebkitgtk-1.0-common (2.4.11-0ubuntu0.1) ...
Setting up libwebkitgtk-1.0-0:amd64 (2.4.11-0ubuntu0.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Open browser and go aptana studio' s official site. And copy aptana studio download link.
Open the terminal and download aptana studio using “ wget” command.
root@linuxhelp:~# wget https://github.com/aptana/studio3/releases/download/v3.6.1/Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip
--2016-07-11 19:03:11-- https://github.com/aptana/studio3/releases/download/v3.6.1/Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip
Resolving github.com (github.com)... 192.30.253.112
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
.
.
.
.
Saving to: ‘ Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip’
Aptana_Studio_3_Setup_ 100%[===========================> ] 117.95M 277KB/s in 4m 6s
2016-07-11 19:07:19 (492 KB/s) - ‘ Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip’ saved [123680508/123680508]
Next unzip the downloaded file.
root@linuxhelp:~# unzip Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip
List the files using “ ls” command.
root@linuxhelp:~# ls
Aptana_Studio_3 vst-install.sh
Aptana_Studio_3_Setup_Linux_x86_64_3.6.1.zip vst-install-ubuntu.sh
Set owner permission as root to ” Aptana_Studio_3” directory.
root@linuxhelp:~# chown -R root:root Aptana_Studio_3/
Next set execute permission to “ Aptana_Studio_3” directory using “ chmod” command.
root@linuxhelp:~# chmod -R 777 Aptana_Studio_3
Move the “ Aptana_Studio_3” directory to “ /usr/local/bin” .
root@linuxhelp:~# mv Aptana_Studio_3 /usr/local/bin/
Change the directory by using the following command.
root@linuxhelp:~# cd /usr/local/bin/
Open and edit the “ ~/.bashrc” file.
root@linuxhelp:/usr/local/bin# nano ~/.bashrc
Add aptana studio path and save it.
PATH=$PATH:/usr/local/bin/Aptana_Studio_3
Create softlink for “ Aptana_Studio_3/AptanaStudio3” as follows.
root@linuxhelp:/usr/local/bin# ln -s Aptana_Studio_3/AptanaStudio3 aptana
Next change your directory.
root@linuxhelp:/usr/local/bin# cd
Type “ aptana” and run it.
root@linuxhelp:~# aptana
Set the path for aptana and click “ ok”
Aptana is ready to use now.
chown -R root:root Aptana_Studio_3/
it showing me
apanta: command not found