
SDK Version: 2.1.300
In Windows OS,I build it and It run OK, ( Tested it In Centos 7.0 it run OK )
But,
First, Alpine Linux use the newest Alpine version .net core runtime
But I put all files in Release Directory to Alpine Linux,When I run it, I get a error (Top Picture)
Based on the log above, you need to install the libintl package (apk add libintl)

after I run "Apk add libintl ",
It also has error
when I "apk add icu" ,it run OK
Thanks
You need to install all the prerequisite packages: icu, openssl, krb5, curl, zlib. Optionally lttng-ust too.
The openssl, krb5 and curl are needed if you use HTTPS / crypto stuff.
Thanks
I think Microsoft dotnet (http://dot.net) website alphine install document need to add your help.
@AreYouQQ right, I have not noticed that that site is missing details on Alpine installation. I'll make sure we fix that.
@richlander the issue here is that on the http://dot.net site, we don't list dependencies that need to be installed on Alpine Linux to be able to use .NET Core. We don't even list them on https://docs.microsoft.com/cs-cz/dotnet/core/linux-prerequisites?tabs=netcore30.
So unless people use our docker images, they are clueless on what to install.
Could you please look into adding such doc or find someone who could do that? I am assigning this issue to you for now.
We should at least add the required dependencies to this part of the doc:
https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore30#linux-distribution-dependencies
Can you help with that @janvorli?
@janvorli @richlander I looked at the download page and I don't see the prereqs listed there yet. Are you tracking that work elsewhere since this issue was originally about that?
@NikolaMilosavljevic This issue has been floating around for quite some time. Can we get a list of deps required for Alpine linux?
According the following page Alpine Linux 3.7+ is supported with .NET Core 2.1:
https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md
@leecow is there an installation page for .NET Core 2.1 for Alpine Linux? It seems that there are additional dependencies that need to be documented.
ping @leecow
Let me at least put the list of runtime dependencies here (I've verified them with a bare bones Alpine docker image):
For .NET Core 2.1 and 3.1
icu-libs (this is not needed if globalization is disabled)
krb5-libs
libintl
libssl1.1 (for Alpine >= 3.9 or libssl 1.0 for older ones)
libstdc++
lttng-ust
numactl (optional, useful only for devices with NUMA enabled)
zlib
is there an installation page for .NET Core 2.1 for Alpine Linux?
There is a link to x64 Alpine installation page for 2.1 here: https://dotnet.microsoft.com/download/dotnet-core/2.1
Similar for 3.1 here:
https://dotnet.microsoft.com/download/dotnet-core/3.1
However it doesn't list the dependencies.
@rbhanda @leecow Can you comment?
I am going to update the https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore30#linux-distribution-dependencies. I am sorry, I've missed @mairaw pinging me long time ago.
Most helpful comment
I am going to update the https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore30#linux-distribution-dependencies. I am sorry, I've missed @mairaw pinging me long time ago.