Summary of Eclipse installation experience on RedHat

Source: Internet
Author: User
Eclipse integrated with CDT provides a powerful IDE for developing C/C ++ programs, which makes some complicated transactions simple and easy, and improves the development efficiency of the project. In addition to the Eclipse software package, the installation of Eclipse in Linux also requires the java JDK (or the Java Runtime Environment JRE) to support Eclipse running. JDK contains the java Development Kit SDK. If you do not need java Development, you only need to install JRE. Before installing Eclipse, you need to prepare two

Eclipse integrated with CDT provides a powerful IDE for developing C/C ++ programs, which makes some complicated transactions simple and easy, and improves the development efficiency of the project.

In addition to the Eclipse software package, the installation of Eclipse in Linux also requires the java JDK (or the Java Runtime Environment JRE) to support Eclipse running. JDK contains the java Development Kit SDK. If you do not need java Development, you only need to install JRE.

You need to prepare two files before installing Eclipse:

Jre-6u25-linux-i586.bin

Eclipse-cpp-helios-SR2-linux-gtk.tar.gz

JRE: http://www.java.com/zh_CN/download/manual.jsp

Download file name jre-6u25-linux-i586.bin

Eclipse: http://www.eclipse.org/downloads/

Select Eclipse IDE for C/C ++ Developers for download. The file name is:

Eclipse-cpp-helios-SR2-linux-gtk.tar.gz

Install JRE

Copy the self-extracting Installation File jre-6u25-linux-i586.bin to the linux opt directory. Run the following command as the root user on the terminal:

# Chmod a + x jre-6u25-linux-i586.bin

#./Jre-6u25-linux-i586.bin

Then add the environment variable, which can be used by any user and used by the root user.

# Gedit etc/profile

Add export PATH = $ PATH:/opt/jre1.6.0 _ 25/bin at the end of the file

Install Eclipse

Eclipse is usually installed in the/opt path. The installation process is relatively simple. You only need to decompress the package.

Run the following command under the root user:

# Tar zxvf eclipse-cpp-helios-SR2-linux-gtk.tar.gz-C/

Then go to the/opt/eclipse directory

#./Eclipse

The running interface is as follows:

Add an Eclipse starter

Right-click Create initiator, as shown in, and add the name and program path. Similar to the shortcut in win.

Postscript

It took several hours to install Eclipse. This is also the first time that I have made such a detailed summary. I will share with you the simple experience of a cainiao. This is just a rough understanding of RedHat9.0. If you have any questions, please kindly advise.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.