`

Ubuntu 中安装 Eclipse

阅读更多

         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  &           

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics