installation of C + + development environment under Ubuntu "!!! There are updates!!! Use Eclipse to build the C language development environment under UBUNTU14.10

Source: Internet
Author: User


(1) There are two ways to install eclipse in the first step. Using the software market search can be obtained, installation can be

Another is the use of terminal installation. Commands such as the following:

sudo su enters root mode input password and then

Input: sudo apt-get install eclipse

Start the installation!

At this point, we have completely installed eclipse one



(2)Install the CDT plugin again, such as the following:
1. Start Eclipse,
2. Choose Help->install New software .... Copy the following address in the work with box: Http://download.eclipse.org/releases/galileo
3, select Collaboration->mylyn bridge:c/c++ Development, install, restart Eclipse.
4, with the above 2, 3, choose Programming Languages->eclipse C + + development, are selected, now the hard drive is not expensive.

Restart Eclipse and try it. There's tutorial.


This is believed to be fully operational. Just follow the steps to do it;

(3) Then try to build a C language project: File--new--other---C + + see it.


Continue to walk.



Some children's shoes, the first time when the implementation of direct. Execute using Run as in test.c, then start error



Very easy just need to right-click on the project to build the configuration---build--all,



Then click Run as! Nice is finished.



(4) all finished. This is only a method of installation, which needs to be installed in a network environment. Process only to follow the steps can be, relatively simple, no success can leave a message.


*******************************************************************************************

*******************************************************************************************

Here's what's updated:

Recently hand cheap Update the latest version of the Ubuntu14.10 but found that the original C language development environment is not, not enough (I used to be Ubuntu12.4.0, such as the introduction of the above steps)

In accordance with the above steps to install, there will always be a problem can not be installed, so only to find a way to conquer!

One, method one

(1) Assuming that only for the purpose of developing the C language separately, then download the integrated Open toolset on the official web site: Address http://www.eclipse.org/downloads/to find this


Download the detailed version number according to the number of digits: Download very easy do not explain! Really do not know how to download the message must reply!

(2) After download, unzip to a directory eclipse (the zipped package is the compressed file)


Open Eclipse This directory, everyone understand, click on my circle out of this all ok! There's nothing left to say!



Second, method two

(1) as the Eclipse Special IDE Development toolset, we want to fully use its functionality, we use the method of using plug-ins to join the development of the C language to eclipse features!

(2) We only need to copy the plugins and features from the Eclipse folder downloaded above to the one where we started the installation of Eclipse folder.

The eclipse we have installed is under the/usr/lib/eclipse/folder: We use the command to complete the copy (direct copy permission is not enough)

To make it easier for me to copy the two folders mentioned above into my User folder:/home/xuliugen/123/


(3) Replication is now started:

plugins   (to enter your Usernamepassword)

sudo cp-r/home/xuliugen/123/features/*/usr/lib/eclipse/ features

OK to this copy is complete. There's a need for us!




Ok!

Please leave a message if you have any questions!


installation of C + + development environment under Ubuntu "!!! There are updates!!! Use Eclipse to build the C language development environment under UBUNTU14.10

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.