zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    HTML课堂笔记
    pycrul使用
    计算机网络概述
    重温冒泡排序
    初识MySQL
    宝塔Linux面板安装教程
    运维和shell
    nginx学习总结
    docker学习汇总
    linux 安装redis 完整步骤
  • 原文地址:https://www.cnblogs.com/winscoder/p/3545271.html
Copyright © 2011-2022 走看看