Assistance Required for Installing Latest Version of GCC

Jonathan Wakely jwakely.gcc@gmail.com
Thu Mar 13 09:04:35 GMT 2025


On Thu, 13 Mar 2025, 07:46 Basile Starynkevitch, <basile@starynkevitch.net>
wrote:

> On Thu, 2025-03-13 at 07:36 +0000, Rugwesh KOlekar via Gcc-help wrote:
> > Dear GNU Team,
> >
> > I hope this message finds you well.
> > I am currently working with GCC version 4.8.1, which is installed on a
> virtual
> > drive, and I would like to replace it with the latest stable version of
> GCC.
> > However, I am unsure of the proper steps and procedures, especially in
> > alignment with my organization's protocols.
>
> GCC 4.8.1 is a very old version of the compiler. How did you install it?
> On what
> operating system?
>
> The current stable version is GCC 14 and GCC 15 is coming out soon.
>
> Very probably you can uninstall the old version,


 There is no reason to uninstall the old version, especially given the
reference to "my organization's protocols".

We can't give a definitive answer since we have no idea what those
protocols are.


and certainly you can have
> several versions of GCC co-existing.
>
> GCC is usually packaged in most Linux distributions and for those packaged
> versions you should use the distribution commands (eg apt or aptitude on
> Debian
> or Linux Mint)
>


Yes but if it's a very old system then the version packaged by the
distribution might be very old too.


The answer might be to install a self-built GCC as described at
https://gcc.gnu.org/wiki/InstallingGCC or talk to your system
administrators about installing a more recent version.


More information about the Gcc-help mailing list