Install Official Eclipse on Ubuntu
If you've downloaded Eclipse from their official website, follow these steps for the installation. (Ubuntu 12.04 LTS)
-
Extract the eclipse.XX.YY.tar.gz using
tar -zxvf eclipse.XX.YY.tar.gz
-
Copy the extracted folder to
/opt
sudo cp -r eclipse.XX.YY /opt
-
Create a desktop file and install it:
gedit eclipse.desktop
and copy the following to the
eclipse.desktop
file.[Desktop Entry] Name=Eclipse Type=Application Exec=eclipse Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse
then execute the following command to automatically install it in the unity:
sudo desktop-file-install eclipse.desktop
-
Create a symlink in
/usr/local/bin
usingcd /usr/local/bin sudo ln -s /opt/eclipse/eclipse
-
For eclipse icon to be displayed in dash, eclipse icon can be added as
sudo cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm
That's it.
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步