Eclipse is an integrated development ennvironment primarily for Java but with the extra plugins it can also be used to develop applications in C, C++, PHP, Scala, etc.
Here we are explaining How to install eclipse on linux. Distros covered are Fedora, CentOS and RHEL.
Go to www.eclipse.org/downloads/ and select suitable version according to your needs.
Switch to root
We are extracting the Eclipse package into /opt directory.
Adding read permissions
Paste following code in the file.
#!/bin/sh export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $*
You are done!