1, first need to download the required installation package JRE and Eclipse, as follows:
http://www.eclipse.org/downloads/?osType=linux&release=undefined, Eclipse IDE for C + + developers
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html, Linux x86, jre-8u11-linux-i586.rpm
2, go to the package directory, run the following command, install the JRE and decompression eclipse separately:
RPM-IVH jre-8u11-linux-i586.rpm
TAR-ZXVF eclipse-cpp-luna-r-linux-gtk.tar.gz
3. Check if JRE is installed successfully
Input: Java-version #显示版本则成功安装
If the following error occurs when you run the./eclipse:
bash:./eclipse:cannot Execute binary file
It is possible that the system is either 32-bit or 64-bit, and the number of bits of the downloaded package causes the
Otherwise direct./eclipse can start eclipse
Install eclipse in Linux, to compile C + +