Installing Eclipse SDK
The Eclipse SDK (Eclipse) is an open source integrated development environment (IDE) that supports several programming languages such as Java, C/C++, Perl, and, of course, PHP. The Eclipse SDK also provides a framework that developers can use to build applications and other components. You can learn more at Eclipse community.
We recommend that all Eclipse versions be placed in their own directory inside a master directory on your system. We recommend that you create the directory /home/drupal/eclipse/ that will contain all of your Eclipse-related files. Think of the Drupal user as a generic user and substitute your own user name for it whenever we reference the Drupal user's home directory.
Now that you have the installation location prepared, you are ready to download Eclipse. The Eclipse download is the largest download in this tutorial with a file size of 99 MB. If you are on a dial-up or unreliable Internet connection, we suggest you use a download tool that supports resuming incomplete downloads.
Figure 7. Eclipse download for Linux
Select the Download now link. On the next page you'll need to select a mirror before downloading Eclipse, as shown in Figure 8.
Figure 8. Eclipse download mirror page for Linux
Download the latest version (3.1.2 as of this writing) and put it in the ~/eclipse/ directory. Eclipse is distributed as a compressed tar archive and needs to be uncompressed and then extracted from the tar archive. The Eclipse SDK archive creates a directory named eclipse during extraction. Make sure that the ownership of the extracted files are correctly set. You may have to use the following command to do this:
chown -R dupal:users eclipse/
You must now rename the eclipse directory to include the version of the package. Rename the directory to eclipse-3.1.2, as shown in Figure 9, so if you download future versions they do not conflict with the currently installed version.
Figure 9. Eclipse directory renamed to eclipse-3.1.2
Go into the eclipse-3.1.2 directory, select the Eclipse executable, and drag it onto the desktop using the Shift+Ctrl option keys to make a shortcut, as shown in Figure 10. The key combination to create a shortcut may vary with the window manager you use.
Figure 10. Eclipse shortcut on the desktop
The installation of Eclipse is now complete.