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

NoOp glgxg at sbcglobal.net
Wed Nov 17 01:31:38 UTC 2010


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.:
> 
>    https://launchpad.net/ubuntu/natty/i386/gcc-4.5/4.5.1-10ubuntu1
>    https://launchpad.net/ubuntu/natty/i386/g++-4.5/4.5.1-10ubuntu1
> 
...
Not sure. But perhaps you can get the associated depends as well:
http://packages.ubuntu.com/natty/g++
https://launchpad.net/ubuntu/+source/gcc-defaults/1.97ubuntu3







More information about the ubuntu-users mailing list