Runtime: Provide a default linux friendly installer

Created on 10 Nov 2016  路  7Comments  路  Source: dotnet/runtime

Moving from https://github.com/dotnet/cli/issues/3714 on behalf of @gochev.

CLI's ability to provide a cross-linux-distro installer depends on a matching Shared Framework, so putting the issue in the right repo.


Currently you have provided downloads for 7-8 linux distributions, however there are 1000 of linux distros out there.

Please provide a unix friendly installation method from source. This way distributions like Arch, Gentoo, Slackware and other non deb,rpm based can use dotnet core.

Expected behavior

wget http://.....source.tar.gz
./configure - should show you if some dependancy is missing
make - should build it if configure was successful
make install - should install it on the right folders and should add dotnetcore and other commands in /usr/bin or similar

Also when distribute source or binary always include an md5 checksum of the file.

area-Infrastructure-installer enhancement

Most helpful comment

I think Flatpak is the friendliest distro-agnostic installer available today.
Having Flatpak as default installer and falling back to building from source when flatpak is not available/desired seems a good and straight approach.

All 7 comments

This is something @ellismg is looking into as part of enabling building from source.

I think Flatpak is the friendliest distro-agnostic installer available today.
Having Flatpak as default installer and falling back to building from source when flatpak is not available/desired seems a good and straight approach.

@ellismg Is this being tracked for 2.0?

The plan is to provided a limited source tarball with some caveats (e.g. there will be some prebuilt binaries that come with it that are rebuilt during the build process and we may not support every linux distro) for 2.0 and then keep improving that after 2.0.

The other angle is we are moving to the portable linux binaries so they should have larger reach (and can be installed with dotnet-install.sh).

There's no plans to adopt something like Flatpack.

@ellismg Can this be closed?

IMO, this issue shouldn't be closed until the source-build stuff is available publicly for everyone to use.

Source-build is available publicly. We also provide Snap and native installers.

Was this page helpful?
0 / 5 - 0 ratings