[Ubuntu-users] How do I install g++ 4.5 on ubuntu 10.10?
K. Frank
kfrank29.c at gmail.com
Tue Nov 16 23:40:55 UTC 2010
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
But downloading the associated files, e.g.:
http://launchpadlibrarian.net/59065052/gcc-4.5_4.5.1-10ubuntu1_i386.deb
http://launchpadlibrarian.net/59065037/g%2B%2B-4.5_4.5.1-10ubuntu1_i386.deb
causes the "Ubuntu Software Center" application to complain about
things like:
Dependency is not satisfiable: gcc-4.5-base (= 4.5.1-10ubuntu1)
In this particular case, then trying to download gcc-4.5-base:
http://launchpadlibrarian.net/59065012/gcc-4.5-base_4.5.1-10ubuntu1_i386.deb
yields the error:
Breaks existing package 'libgcc1' dependency gcc-4.5-base (= 4.5.1-7ubuntu2)
Note, I've tried uninstalling gcc 4.4 ("apt-get remove gcc"). This
did seem to uninstall gcc, but I still have the same issues trying
to install gcc / g++ 4.5. (I also tried "apt-get upgrade gcc". This
left me with gcc 4.4, but appeared to do some stuff with "plymouth".)
So, I'm going around in circles trying to get g++ 4.5. Any suggestions
would be appreciated.
Thanks.
K. Frank
More information about the ubuntu-users
mailing list