I have already told you how to install GCC and GDB. I will not go into details here!
I. Two required software:
Jre-7u25-linux-i586.rpm (Virtual Machine)
Eclipse-CPP-Kepler-r-Linux-GTK .tar.gz (eclipse tool)
II,
JDK jre-7u25-linux-i586.rpm (http://java.sun.com)
Eclipse eclipse-CPP-Kepler-r-Linux-GTK .tar.gz (http://www.eclipse.org)
When downloading, pay attention to Linux and the number of digits in the operating system.
3. Install the two software
Note: It is best to install the two software in the same file directory. My directory is/opt/eclipse, so go to the last step.
4. Modify Environment Variables
1. Add gedit/etc/profile to the end of the opened file
Java_home =/opt/Java/jre1.7.0 _ 25/
Path = $ java_home/bin: $ path
2. Execute Source
/Etc/profile make it take effect immediately
3. Run it under the eclipse directory./eclipse
Note:
The p.s. Source command also corresponds to the terminal, and needs to be restarted in the desktop environment.
In other words, you need to restart the virtual machine to start eclipse in the desktop environment.