Execute the following :
sudo apt-get install curl libunwind8 gettext
curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=847105
sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
Then add Jessie's repository to your sources list :
deb http://ftp.de.debian.org/debian/ jessie main
You can now install the following missing dependencies :
apt -t jessie install libicu52
apt install libssl1.0.0 liblttng-ust0
There is an issue with the latest libcurl3
version shipped with Stretch,
7.52.1-5
, and dotnet CLI.
You need to use Jessie's version which is 7.38.0-4+deb8u5
.
Now you can check that everything works fine :
dotnet new console -o hwapp
cd hwapp
dotnet restore
dotnet run
Hello.
When I try to install Jessie specific version, it tells me that libicu52 is already the newest version (52.1-8+deb8u5).
Looks like libicu52 is updated in jessie to the version in stretch
https://packages.debian.org/jessie/libicu52
I think I would have to wait for .NET Core 2.0