How do I install g++ 4.5 on ubuntu 10.10?
NoOp
glgxg at sbcglobal.net
Fri Nov 19 00:46:53 UTC 2010
On 11/18/2010 04:12 PM, K. Frank wrote:
...
> 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)
>
> (Remember that my system is not in the same state as
> it was the first time I tried this -- I have since run dpkg
> and Synaptic, as described in my previous posting.)
My apologies for my previous post... Try this:
$ sudo apt-get install g++-4.5
that should yield something along the lines of:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cpp-4.5 gcc-4.5 libcloog-ppl0 libelfg0 libgmpxx4ldbl libmpc2 libppl-c2
libppl7 libstdc++6-4.5-dev
Suggested packages:
gcc-4.5-locales g++-4.5-multilib gcc-4.5-doc libstdc++6-4.5-dbg
gcc-4.5-multilib libmudflap0-4.5-dev libgcc1-dbg libgomp1-dbg
libmudflap0-dbg binutils-gold libstdc++6-4.5-doc
The following NEW packages will be installed:
cpp-4.5 g++-4.5 gcc-4.5 libcloog-ppl0 libelfg0 libgmpxx4ldbl libmpc2
libppl-c2 libppl7 libstdc++6-4.5-dev
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Inst libgmpxx4ldbl (2:4.3.2+dfsg-1ubuntu1 Ubuntu:10.10/maverick [amd64])
Inst libppl7 (0.10.2-7ubuntu1 Ubuntu:10.10/maverick [amd64])
Inst libppl-c2 (0.10.2-7ubuntu1 Ubuntu:10.10/maverick [amd64])
Inst libcloog-ppl0 (0.15.9-2 Ubuntu:10.10/maverick [amd64])
Inst libelfg0 (0.8.13-1 Ubuntu:10.10/maverick [amd64])
Inst libmpc2 (0.8.2-1build1 Ubuntu:10.10/maverick [amd64])
Inst cpp-4.5 (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
Inst gcc-4.5 (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
Inst libstdc++6-4.5-dev (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64]) []
Inst g++-4.5 (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
Conf libgmpxx4ldbl (2:4.3.2+dfsg-1ubuntu1 Ubuntu:10.10/maverick [amd64])
Conf libppl7 (0.10.2-7ubuntu1 Ubuntu:10.10/maverick [amd64])
Conf libppl-c2 (0.10.2-7ubuntu1 Ubuntu:10.10/maverick [amd64])
Conf libcloog-ppl0 (0.15.9-2 Ubuntu:10.10/maverick [amd64])
Conf libelfg0 (0.8.13-1 Ubuntu:10.10/maverick [amd64])
Conf libmpc2 (0.8.2-1build1 Ubuntu:10.10/maverick [amd64])
Conf cpp-4.5 (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
Conf gcc-4.5 (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
Conf g++-4.5 (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
Conf libstdc++6-4.5-dev (4.5.1-7ubuntu2 Ubuntu:10.10/maverick [amd64])
I _think_ that is what you are looking for. If so, you may also want to
go back later and install the suggested packages. Or:
More information about the ubuntu-users
mailing list