Eclipse is an integrated development environment used in computer programming, and is the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for customizing the environment.
Below are the steps to install Eclipse using terminal
Step 1: Download the installer from here https://eclipse.org/downloads/
Step 2: Move Archive to home directory. Archive filename can be different for you for your:
$ mv eclipse-inst-linux64.tar.gz ~
Step 3: Extract the archive using below command. A folder with name "eclipse-installer" will be displayed.
$ tar xf eclipse-inst-linux64.tar.gz
Step 3: Navigate to "eclipse-installer" directory using below command
$ cd eclipse-installer
Step 4: Run the installer without sudo. It can ask you to install Java. Install from here if not already installed.
Your installation will start, rest is self explanatory.