[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrading packages



Nirmal Govind wrote:
Hi.. how do I go about upgrading packages which have dependencies and
which are necessary for other programs.. for e.g. I'm trying to upgrade
my version of gcc from 2.95 to 3.2 but if I download the individual gcc,
g++, g77 etc. packages and try dpkg on them I get lots of unmet
dependencies like binutils (which conflicts with modutils..) etc.. any
smooth way to do this using apt-get or so?

Thanks,
nirmal



You can install 2.95 and 3.2 side by side if you want. You should be able to just

apt-get install gcc-3.2

(note special package name since gcc 2.95 is still the primary compiler)

The actual binary is called 'gcc-3.2', so you might need to set your 'CC' environment variable to refer to that. It should work in most circumstances.

I don't know if this is available in woody, but it is in testing.

Regards,

Pat



Reply to: