LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-26-2010, 07:39 AM   #1
kakarot_adi
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Unhappy need C++ for ubuntu 10.04


I need a C++ compiler which is strictly for c++. cant use anjuta as it does not favour c++...
 
Old 09-26-2010, 07:48 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Why not use GCC (GNU Compiler Collection), specifically `g++` which is the component used for compiling C++ programs? This would be the default, and most common choice, on Linux. Unless I'm mistaken, GCC and g++ should already be installed. Try in a console:
Code:
which g++
to see if it is already there.
 
1 members found this post helpful.
Old 09-26-2010, 10:17 AM   #3
eveningsky339
Member
 
Registered: Mar 2010
Location: Western Maine
Distribution: PCLinuxOS (LXDE)
Posts: 466

Rep: Reputation: 51
Quote:
Originally Posted by GrapefruiTgirl View Post
Why not use GCC (GNU Compiler Collection), specifically `g++` which is the component used for compiling C++ programs? This would be the default, and most common choice, on Linux. Unless I'm mistaken, GCC and g++ should already be installed. Try in a console:
Code:
which g++
to see if it is already there.
Oddly enough g++ does not ship with Ubuntu (but gcc does).

Run this command in your terminal:

Code:
sudo apt-get install build-essential
The build-essential package contains g++ among other utilities for creating .deb packages.
 
1 members found this post helpful.
Old 09-26-2010, 01:32 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
@ eveningsky,

thanks, I did not know that - and yes, it is rather odd.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DEB Packages Now Open With Ubuntu Software Center by Default in Ubuntu 10.10 LXer Syndicated Linux News 1 09-11-2010 07:35 AM
LXer: Ubuntu Restricted Extras - Lets Ubuntu Play Everything [Ubuntu for Beginners Sc LXer Syndicated Linux News 0 04-20-2010 12:10 AM
Time Warp / Clock Problem - Ubuntu Alternate CD install over Ubuntu Server krimzen85 Linux - Software 2 08-07-2009 10:01 AM
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration