ubuntu16.04 安装eclipse

1、eclipse下载安装

官网下载最新版本的eclipse:
https://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/oxygen2
解压安装文件
#:cd /opt/
#:tar -zxvf eclipse-cpp-oxygen-2-linux-gtk-x86_64.tar.gz

验证运行:(需要安装jre)
、#:./eclipse

2.Dash显示

在 Dash 主页上添加一个图标,这样就可以将图表放在 Unity 或者是 Dock 里面以快捷启动了。

终端输入一下命令:
$ sudo gedit /usr/share/applications/eclipse.desktop
[Desktop Entry]
Name=Eclipse
Comment=Eclipse IDE
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.png
Terminal=false
Type=Application
Categories=Application;Development;Unity;Eclipse;
StartupNotify=true

3、桌面快捷方式

到dash里面找到eclipse(一般可以到下面第二个按钮对应到菜单里搜索一下)
这里写图片描述
左键按住那个软件然后拖动到页面上方
这里写图片描述
安装完成!

猜你喜欢

转载自blog.csdn.net/xiaozi0221/article/details/79062168