centos 7 install eclipse cdt and use github

http://segmentfault.com/a/1190000002651775

 

yum install java
 
下载地址http://www.eclipse.org/downloads/download.php?file=/technology/epp/dow...
 
tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt
 
 
ln -s /opt/eclipse/eclipse /usr/bin/eclipse  
eclipse与/usr之间有空格
 
 
vim /usr/share/applications/eclipse.desktop
 
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse 4.4.1
Comment=Eclipse Luna
Exec=/usr/bin/eclipse
Icon=/opt/eclipse/icon.xpm
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0
 
unzip the cdt.zip download form the eclipse, stored in the centos 7 vmware /home/sunyj/software
and cp all files of plugins to /opt/eclipse/plugins
restart the eclipse

 1.cd /home/sunyj/workspace/git
2. git clone https://sunyongjie1984:Git541981101211@github.com/sunyongjie1984/sll
3. eclipse&
4. new c++ project with makefile existing codes
5. choose the folder of /home/sunyj/workspace/git/sll/isll
 a

tumblr_lhdqgg8ZxV1qhbu0no1_1280

tumblr_lhdqi0V5vM1qhbu0no1_1280

tumblr_lhdqjl6UDu1qhbu0no1_1280

tumblr_lhdqls6M5o1qhbu0no1_1280

tumblr_lhdqtotHcL1qhbu0no1_1280tumblr_lhdqud8g6d1qhbu0no1_1280tumblr_lhdqvfq4UG1qhbu0no1_1280tumblr_lhdqwtL7Du1qhbu0no1_r1_1280

posted @ 2016-01-22 09:23  孙永杰  阅读(430)  评论(0编辑  收藏  举报