Thread overview
What would it take to bring preinstalled D language compiler in the major Linux Distributions?
Dec 23, 2019
BoQsc
Dec 23, 2019
mipri
Dec 23, 2019
H. S. Teoh
Dec 23, 2019
bachmeier
Dec 23, 2019
Adam D. Ruppe
December 23, 2019
I would love to see D language available out of box in major Linux distributions and use without much care of installation. Anyone have a though about it? Was there any serious efforts to bring D language to Major distributions?

December 23, 2019
On Monday, 23 December 2019 at 13:34:55 UTC, BoQsc wrote:
> I would love to see D language available out of box in major Linux distributions and use without much care of installation. Anyone have a though about it? Was there any serious efforts to bring D language to Major distributions?

What do you consider to be a major distribution?

Fedora has all three compilers in default repositories.
The install script at https://dlang.org/download.html has
a dated version of gdc but is otherwise fairly painless.
December 23, 2019
On Mon, Dec 23, 2019 at 01:34:55PM +0000, BoQsc via Digitalmars-d-learn wrote:
> I would love to see D language available out of box in major Linux distributions and use without much care of installation. Anyone have a though about it? Was there any serious efforts to bring D language to Major distributions?

GDC and LDC are already part of the Debian archive.  I don't know what's the migration status, but I'd imagine it's just a matter of time (if it hasn't already happened) before it percolates down to all the Debian derivatives. Just:

	apt-get install gdc

or

	apt-get install ldc

and you're good to go.

Don't know about the RPM-based distros, I'd imagine somebody has also made packages for that by now.


T

-- 
"You are a very disagreeable person." "NO."
December 23, 2019
On Monday, 23 December 2019 at 15:11:21 UTC, H. S. Teoh wrote:
> On Mon, Dec 23, 2019 at 01:34:55PM +0000, BoQsc via Digitalmars-d-learn wrote:
>> I would love to see D language available out of box in major Linux distributions and use without much care of installation. Anyone have a though about it? Was there any serious efforts to bring D language to Major distributions?
>
> GDC and LDC are already part of the Debian archive.  I don't know what's the migration status, but I'd imagine it's just a matter of time (if it hasn't already happened) before it percolates down to all the Debian derivatives. Just:
>
> 	apt-get install gdc
>
> or
>
> 	apt-get install ldc
>
> and you're good to go.
>
> Don't know about the RPM-based distros, I'd imagine somebody has also made packages for that by now.
>
>
> T

Ubuntu 18.04 has both gdc and ldc. Installing on Ubuntu has always been trivial - just download the .deb and install it.

Slackware has slackbuilds for dmd and gdc.

Arch has all three compilers available.

All three are available through opensuse's open build service.
December 23, 2019
On Monday, 23 December 2019 at 15:39:30 UTC, bachmeier wrote:
> Slackware has slackbuilds for dmd and gdc.

Slackware-current has gdc in the main package repo now!