Eclipse installation and configuration in Ubuntu

Source: Internet
Author: User

Install Eclipse:

The first is to install Eclipse through the program installation features of Ubuntu, Application->ubtuntu Software Center, search Eclipse installation.
The second method is to use the command: application-and attachment-, terminal and enter (you may need to enter a password in the middle):
sudo apt-get install eclipse
sudo apt-get install Eclipse-pde
sudo apt-get install ECLIPSE-JDT

The third kind is to enter the official website to download

Install the Chinese Language pack

Menu bar: Help------>install New software------> enter the following address in the work with box.
Http://download.eclipse.org/technology/babel/update-site/galileo
Select English: Babel Language Packs in Chinese (Simplified)
Then choose the Simplified Chinese Antu prompt step-by-step installation

Installing the CDT (c + + plugin)

(1) Enter Http://download.eclipse.org/releases/galileo in the same 2 as the work with box
Select Collaboration->mylyn bridge:c/c++ Development, install, restart Eclipse
(2) After entering the URL above, select programming Languages->eclipse/C + + development
Remember: (1) (2) The order has dependencies, the installation order cannot be reversed.
This error may be reported when the CDT is installed:
An error occurred while installing the items
Session context was: (Profile=platformprofile, phase= Org.eclipse.equinox.internal.provisional.p2.engine.phases.Install .........
Google a bit later, found the solution.
sudo apt-get install Eclipse-pde
In the installation of the CDT plugin, complete ~
How can you let Eclipse play the function of automatic code hinting when you develop C + + projects with ECLIPSE+CDT? In fact, it is very simple:
Open Terminal: Enter: $ gcc-version
Get similar: GCC version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16UBUNTU2)
It's easy to see the version you're currently using.
Start Eclipse. Enter: windows-->preferences-->c/c++ find environment. Add two variables:
Cplus_include_path:/usr/include/c++/4.8.4 (my gcc version)
C_include_path:/usr/include
Next, create a new C project. When writing code, when typing '. ' will automatically eject the alternate code when it is available.

Eclipse installation and configuration in Ubuntu

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.