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

NoOp glgxg at sbcglobal.net
Fri Nov 19 01:14:13 UTC 2010


On 11/18/2010 05:01 PM, Mark wrote:
> On Thu, Nov 18, 2010 at 4:12 PM, K. Frank <kfrank29.c at gmail.com> wrote:
>> Hi Ric -
>>
>> Well, here's one example:
>>
>> I right click on:
>>
>>   gcc-4.5_4.5.1-10ubuntu1_i386.deb
>>
>> and select "Open With Ubuntu Software Center."
>>
>> Ubuntu Software Center displays the message:
>>
>>   Dependency is not satisfiable: gcc-4.5-base (= 4.5.1-10ubuntu1)
>>
> This tells me that the 4.5 release of gcc for Ubuntu is not ready to go yet.
> 
> Gcc and all of its attached and associated goodies are a huge package
> of packages that all have to work together or none will work at all
> (or, worse, they will look like they work and break everything else).
> 
> If NoOp's suggestion doesn't work for you, I'd give a serious rethink

I was incorrect in my first post because he referred to natty in the OP.
4.5 is available as a package in Maverick 10.10:

http://packages.ubuntu.com/maverick/g++-4.5
Using apt-get to install should pull in all required dependencies:
https://launchpad.net/ubuntu/+source/gcc-4.5

As a test, I've just installed it:

$ apt-cache policy g++-4.5
g++-4.5:
  Installed: 4.5.1-7ubuntu2
  Candidate: 4.5.1-7ubuntu2
  Version table:
 *** 4.5.1-7ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main amd64
Packages
        100 /var/lib/dpkg/status







More information about the ubuntu-users mailing list