1.下载 Eclipse 最新版
访问官方网站下载 Eclipse 最新版,这个就不多说了,大家自己去下。
http://www.eclipse.org/downloads/?osType=linux&release=undefined
2.解压 Eclipse
使用 Ctrl+Alt+T 打开终端并使用如下命令将 Eclipse 解压到 /opt/ 目录以供全局使用:
cd /opt/ && sudo tar -zxvf ~/下载/eclipse-*.tar.gz
解压完成后,就可以在 /opt/ 目录中看到 Eclipse 了
3.创建 Eclipse 快捷方式
1)、在终端中执行如下命令
gksudo gedit /usr/share/applications/eclipse.desktop
2)、粘贴并保存如下内容
[Desktop Entry]
Name=Eclipse 4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
至此,我们就将最新版本的 Eclipse Kepler (4.3.2) 安装到 Ubuntu 14.04 中并可以使用了。