I personally prefer ide. I would like to worship vim and GDB experts first.
I checked the method for installing eclipse on the Internet and installed it myself. The process is as follows:
First, install JDK. Currently, JDK 1.6.0 _ 25 is used.
1. Create a folder in the root directory Java
2. Place the JDK compressed package in this folder.
3. Extract
Sudo chmod 777 JDK File
./JDK File
Then decompress the package and wait until it completes.
4. Set Environment Variables
Sudo Vim/etc/environment
Join
Export java_home =/home/Franky/Java/jdk1.6.0 _ 25
Export jre_home =/home/Franky/Java/jdk1.6.0 _ 25/JRE
Export classpath = $ classpath: $ java_home/lib: $ java_home/JRE/lib
Sudo Vim/etc/profile
Export java_home =/home/Franky/Java/jdk1.6.0 _ 25
Export jre_home =/home/Franky/Java/jdk1.6.0 _ 25/JRE
Export classpath = $ classpath: $ java_home/lib: $ java_home/JRE/lib
Export Path = $ java_home/bin: $ java_home/JRE/bin: $ path: $ home/bin
At last, the source
Source/etc/profile
5. log out and log on again
6. test whether the installation is successful.
Java-version
7. Install eclipse. Here eclipse for C/C ++ is used.
Create a folder (OPT) in the root directory and decompress the compressed package in tar.
8. Double-click the icon to start it!