recommended way to get Linux gdc if no package

Clouudy Swergers123 at gmail.com
Mon Dec 8 15:17:07 UTC 2025


On Monday, 8 December 2025 at 05:36:30 UTC, KC wrote:
> I am using the Solus distribution of Linux as my desktop 
> machine, which has gcc 15.2.1 right now but no gdc.
>
> I tried to get gdc by running the dlang install script 
> mentioned on the downloads page,
> https://dlang.org/install.sh
> but the gdc installation it gave me was 11 versions back. I am 
> mystified why gdc is an option of that script at all.
>
> What is the recommended way to get gdc in this situation?

GDC is a bit of a pain compared to the other compilers. I don't 
know what you mean by "11 versions back", but if you're not 
talking about major versions then it's because non-DMD compilers 
are always a bit behind on features.

You could try to perform some sort of witchcraft and get GDC as a 
package from a .deb or similar, or you could build it yourself.


More information about the D.gnu mailing list