Installing Eclipse for C + + on centos6.5
First, go to the official website to download the Eclipse installation package URL http://www.eclipse.org/downloads, find the following IDE download extract TAR-XZVF eclipse-cpp-neon-3-linux-gtk-x86_64. tar.gz Copy the extracted directory to the/usr/local/directory to create a shortcut in the blank space of the desktop right click, select Create Launcher, name fill Eclipse,command Click the browse button to find/usr/local/ Eclipse/eclipse, click the icon button in the upper left corner to find/usr/local/eclipse/icon.xpm, click OK to generate the shortcut.
Two, install JDK (i download eclipse requires 1.8 version of support) 1) First check if you have previously installed RPM-QA | The grep JDK outputs the following results: java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 2) View installed Java version java-version, 3) Uninstall reinstall if previously installed and the version is too low, egyum remove Java-1.6.0-openjdkyum Remove java-1.7.0-openjdk 4) Download the JDK installation package RPM from the official website, enter the following instruction in the downloaded directory: RMP-IVH jdk-8u161-linux-x64.rpm 5) Set Global environment variables we can easily set the environment variables for your JDK installation using the following command: Export Java_ Home=/usr/java/jdk1.8.0_161/export path= $PATH: $JAVA _home Now let's look at the environment variables of the JDK using the following command: Echo $JAVA _home output is as follows:/usr/java/ jdk1.8.0_161/
Installing Eclipse for C + + on centos6.5