linux # centos # 安装eclipse

2018-11-27  本文已影响16人  FlyingPenguin

目前测试开发c++的话eclipse的neon版本是比较好用的。
最新的版本和gdb的兼容性不好。我的gdb版本是8.0.

#gdb -v
GNU gdb (GDB) 8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
...

安装java

#yum -y install java
#java -version

安装eclipse

# wget -c https://ftp.harukasan.org/eclipse/technology/epp/downloads/release/neon/3/eclipse-cpp-neon-3-linux-gtk-x86_64.tar.gz
# tar -zxvf eclipse-cpp-neon-3-linux-gtk-x86_64.tar.gz -C /data/opt

在桌面建立快捷方式

#ln -s /data/opt/eclipse/eclipse /usr/bin/eclipse
#vim /usr/share/applications/eclipse.desktop

然后在里边写上:

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse 4.4.2
Comment=Eclipse neon
Exec=/usr/bin/eclipse
Icon=/data/opt/eclipse/icon.xpm
Categories=Application;Development;Java;IDE
Version=1.0
Type=Application
Terminal=0

然后将快捷方式发送到桌面即可。

References:

https://www.cnblogs.com/zhoading/p/8512633.html
https://blog.csdn.net/yushl_sirius/article/details/78744150
https://www.eclipse.org/downloads/packages/release/ganymede/sr2/eclipse-ide-cc-developers

上一篇 下一篇

猜你喜欢

热点阅读