ITeye博客

Ubuntu 中安装 Eclipse

leagion · 2013-07-17 13:44 · Java Eclipse · 编程语言 · Markdown

b.Then righ-click the eclipse tar.gz and choose the extract here option to extract the tar.gz package.You can also use the command line to extract the tar.gz package.

       

                               # tar xzf eclipse-cpp-juno-linux-gtk.tar.gz

            

        

          c.Move the extracted eclipse in the  /opt/ folder.Before running the below commmand be sure that you are in the directory which contains extracted eclipse folder.

 

                               # mv eclipse /opt/

           

            Use sudo if the above command gives permission denied message.

                                 

                              # sudo mv eclipse /opt/

 

 

       d.Create a desktop file and place it into /usr/share/applications

              

                            # sudo gedit /usr/share/applications/eclipse.desktop            

        
           and copy the following to the eclipse.desktop file

  1. [Desktop Entry]
    Name=Eclipse 
    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.desktop
    

  
       e. Create a symlink in /usr/local/bin using

  1.  # cd /usr/local/bin
     # sudo ln -s /opt/eclipse/eclipse
    

    
       f. Now its the time to launch eclipse.
        
             # /opt/eclipse/eclipse  -clean  &

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。