Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-11-2011, 07:18 PM   #1
LQ Newbie
Registered: Mar 2011
Location: 1970 Highland Meadows Dr Centerville Ohio 45459
Posts: 1

Rep: Reputation: 0
Angry I have ubuntu 10.10. It has GCC installed but no G++. Where do I get A G++ binary

I have Kubuntu 10.10. It has GCC installed, but no G++. Where do I get G++ and how do I install it? Do I need Synaptic or Aptitude package managers? Which is best?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-11-2011, 07:46 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You would simply install the g++ package, which is already going to be in the repository. As for the package manager, Synaptic and Aptitude are simply different tools to accomplish the same goal, so it doesn't matter which you use. Just use whatever you are most comfortable with (hazarding a guess, probably Synaptic).

You could just as easily install the package directly with apt-get, like so:

sudo apt-get install g++
2 members found this post helpful.
Old 03-11-2011, 09:02 PM   #3
Registered: Mar 2011
Posts: 46

Rep: Reputation: 1
Originally Posted by DenzelHenderson View Post
I have Kubuntu 10.10. It has GCC installed, but no G++. Where do I get G++ and how do I install it? Do I need Synaptic or Aptitude package managers? Which is best?
Synaptic is a meh gui replacement for apt.

Here's a couple of apt essentials:

To update your local index and/or check for updates to installed packages
apt-get update
To search the repos for a particular package
apt-cache search <what you're looking for>
combine it with grep to refine results.

After you've searched the repos and found a package you need
apt-get install <package you want to install>
I think you can also use apt-get remove to uninstall, it's been awhile since I messed around in Debian or Ubuntu. At any rate, just man apt and you should be off to the races. Good luck, hope this helped a bit.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install gcc (already installed) erase gcc (not installed) huh ? kvenl Linux - Newbie 4 01-19-2011 02:24 PM
How to install gcc when a current gcc is installed but not responding Nadishka Linux - Newbie 6 10-15-2009 03:33 PM
java to binary with gcc? kalleanka Programming 5 01-02-2009 07:55 AM
undoing binary shift in C, gcc amp_man Programming 17 07-05-2007 07:40 PM
need binary gcc phoenix_wolf Linux - Software 1 12-02-2004 03:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:37 PM.

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