How do I install g++ 4.5 on ubuntu 10.10?

K. Frank kfrank29.c at
Wed Nov 17 02:48:43 UTC 2010

Hi NoOp -

On Tue, Nov 16, 2010 at 8:31 PM, NoOp <glgxg at> wrote:
> On 11/16/2010 03:40 PM, K. Frank wrote:
>> Hello All -
>> I am playing around with a newly installed ubuntu 10.10, and would
>> like to install g++ 4.5.  Could anyone tell me how to do this?
>> It appears that ubuntu came with gcc 4.4 already installed, but not
>> g++.  Running "apt-get install g++" installs g++, but its version 4.4
>> (as I guess I would expect).
>> I've found what appear to be g++ 4.5 binaries, e.g.:
> ...

> Not sure. But perhaps you can get the associated depends as well:

I don't, in concrete terms, know how to do this.


I had already happened across the above web page.  It seemed
to lead me to, among other places, the links to the ".deb" files
I mentioned above.  Other than those links, I don't know how
to use the link you gave to "get the associated" dependencies.


This appears to relate to the gcc source.  I am hoping to
find pre-built binaries, rather than build gcc myself.

Thanks for your help, and any additional clarification
would be appreciated.

K. Frank

More information about the ubuntu-users mailing list