Install Official Eclipse on Ubuntu

If you've downloaded Eclipse from their official website, follow these steps for the installation. (Ubuntu 12.04 LTS)

  1. Extract the eclipse.XX.YY.tar.gz using

    tar -zxvf eclipse.XX.YY.tar.gz
    
  2. Copy the extracted folder to /opt

    sudo cp -r eclipse.XX.YY /opt
    
  3. 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
    
  4. Create a symlink in /usr/local/bin using

    cd /usr/local/bin
    sudo ln -s /opt/eclipse/eclipse
    
  5. 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.

posted @ 2014-02-12 03:36  WinsCoder  阅读(149)  评论(0)    收藏  举报
(评论功能已被禁用)
编辑推荐:
· 深入理解 C# 异步编程:同步、Task.Wait () 与 await 的本质区别
· WPF 引用 ASP.NET Core 的 AOT 版本
· 通过 Canvas 将后端发来的一帧帧图片渲染成“视频”的实现过程
· 当加密ID需要变成Guid:为什么我选择了AES-CBC而非GCM?
· 基于 epoll 的协程调度器——零基础深入浅出 C++20 协程
阅读排行:
· .NET周刊【8月第1期 2025-08-03】
· Manus快速搭建个人网站
· 这套 Java 监控系统太香了!我连夜给项目加上了
· 【译】GPT-5 现已在 Visual Studio 中可用
· 千亿消息“过眼云烟”?Kafka把硬盘当内存用的性能魔法,全靠这一手!
点击右上角即可分享
微信分享提示