www.eclipse.org进行挑选自己需要的tar包
sudo tar zxvf eclipse-cpp-2019-06-R-linux-gtk-x86_64.tar.gz -C /opt
ubuntu cd 到桌面 contos cd 到 /usr/share/applications
sudo nano eclipse.desktop
输入以下内容,保存
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Startupnotify=true
Type=Application
Categories=Application;Development;
sudo chmod 777 eclipse.desktop
网友评论