Where can i download C++ for ubuntu 12.04????

Asked by Asif ansari

I was about to download netbeans.....but read some comments that it has some problems....so plz tell me how to download just C++ seperately ....Thnx

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
samuel (samuel-h) said :
#1

To install g++ (the c++ command line compiler), just open a terminal with ctrl+alt and type:
sudo apt-get install g++

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sudo apt-get install build-essential

Will install some library files too. A full coding environment. Dead handy

Revision history for this message
Warren Hill (warren-hill) said :
#3

I would definately go with

sudo apt-get install build-essential

You get g++ and plus a lot of other things you will need.

You don't get an IDE however but there are plenty to choose from in software centre.
My personal choice is eclipse, but the choice is yours. You can even work without an IDE if you want.

Can you help with this problem?

Provide an answer of your own, or ask Asif ansari for more information if necessary.

To post a message you must log in.