I have tried to install many ides in Linux, but the Deb package cannot be used in Red Hat Linux 4 or 5.
Neither codelite-4.1.5770-mingw4.6.1-wx2.9.4.exe nor codeblock works.
Eclipse IDE with C ++ compiler seems to be very troublesome, so the netbean 7.2 + CPP for Linux platform. The for all platform does not seem to be easy to install in Linux.
While the netbeans-7.2.1-ml-cpp-linux.sh needs jdk1.6.
Then go to the JDK on the Oracle website, and provide JDK 1.7. After JDK 1.7, gcc4.7is required, while gcc4.7 requires gmp4.2 + and mpfr-2.4.2.tar.bz2,mpc-0.8.1.tar.gz.
The hateful gmp4.2 + cannot make inster in any way. It's really vomiting! Gmp5.0 is not good yet!
Therefore, jdk1.6 + netbean 7.2 jdk1.5 is installed on Red Hat Linux 4 32bit and Red Hat linux5 64
The sh netbeans-7.2.1-ml-cpp-linux.sh GUI then installs everything smoothly and the GCC compiler can be automatically found
In addition, both the root user and Oracle user can start netbean IDE in Hello wordl.
This is why I encountered some troubles when installing JDK, mainly because I didn't load Java-version in the path and didn't transfer it to the new JDK.
Then VI/etc/profile
It's so cool to write Linux C ++ directly on the Linux graphic interface.
I am using a virtual machine.