New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install latest x64 sdk on Debian Buster #1632
Comments
I'm sure we have not done any scouting on Debian 10 yet so not sure if there will be any issues. We are no longer using the aka.ms links to cover for downloads. Rather, everything is tracked in https://github.com/dotnet/core/blob/master/release-notes/releases.json or you can use https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.300. Tarball can be found here. |
Thank you for pointing me toward new place for tracking releases. I think I could create a better script now. |
I just installed "dotnet-runtime-2.2.0-linux-x64.tar.gz" on a clean Debian Burster.
Do I need to install additional dependencies? |
It depends on an old version of libssl that is not in debian buster and will not be part of the next stable release of debian. Don't ask me why… |
@ltworf That will be fixed in the next release of .NET Core 2.1 and .NET Core 2.2 (dotnet/corefx#34443) |
Quick guide to get dotnet core runtime 2.2.3 on Debian Buster:
Find newest version here link :-) |
In Debian Buster you also need few dependencies, at minimum dotnet SDK requires libicu63 and libssl1.1, rest is there but I didn't need them yet. You can see the steps easilly from docker file I cooked up: FROM debian:buster-slim
RUN apt-get update -qq -y && apt-get -y install \
wget \
libicu63 \
libssl1.1
# libc6 \
# libgcc1 \
# libgssapi-krb5-2 \
# liblttng-ust0 \
# libstdc++6 \
# zlib1g
RUN wget -O /tmp/dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/228832ea-805f-45ab-8c88-fa36165701b9/16ce29a06031eeb09058dee94d6f5330/dotnet-sdk-2.2.401-linux-x64.tar.gz
RUN mkdir -p /usr/share/dotnet/
RUN tar zxf /tmp/dotnet.tar.gz -C /usr/share/dotnet/ && rm /tmp/dotnet.tar.gz
RUN ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
RUN dotnet help |
hi, about dotnet core 2.2: the Ubuntu 19.04 package works perfectly on debian 10, the systems have the same dependencies. |
working perfectly on my notebook :) |
I wrote a simple series of steps to update to new available version of .NET Core. I am on Debian Buster (Debian 10).
Remove old version
Install current version
Today when I tried to update to .NET Core 2.1 by changing the sdk version in the curl command
This command failed as the x64 binary was not available at this location.
Is there a recommended way to install current .NET Core on Debian Buster 10 and above?
Thank you!
The text was updated successfully, but these errors were encountered: