Ubuntu 16.04 I do according to this instruction https://www.microsoft.com/net/core#linuxubuntu

All steps are performed normally, but at the end writes

~$ sudo apt-get install dotnet-sdk-2.0.0 Чтение списков пакетов… Готово Построение дерева зависимостей Чтение информации о состоянии… Готово E: Не удалось найти пакет dotnet-sdk-2.0.0 E: Не удалось найти пакет с помощью glob «dotnet-sdk-2.0.0» E: Не удалось найти пакет с помощью regex «dotnet-sdk-2.0.0» 

sudo apt-get update did more than once.

Moreover, if you type ~ $ sudo apt-get install dotnet- and click the tab, then there will be an auto-completion sentence

 dotnet-host dotnet-hostfxr-2.0.0 dotnet-hostfxr-2.0.0-preview2-25407-01 dotnet-runtime-2.0.0 dotnet-runtime-2.0.0-preview2-25407-01 dotnet-sdk-2.0.0 dotnet-sdk-2.0.0-preview2-006497 

What else does he need?

  • Good day. Have you done all the steps? I myself recently became interested in .Net Core and made "Hello World" for this tutorial. Everything took off, though I had Ubuntu version 15 and only this command for version 14 came up: sudo sh -c 'echo "deb [arch = amd64] packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list ' - JDo
  • @JDo yes. I did everything on the tutorial. on 16.04, it was not possible, but on 17.04, on the same tutorial, it was set up normally. - vitidev
  • @vitidev I put on Ubuntu 18.04 the same problem. Did you not find a solution by any chance? - j. Atisto
  • @ j.Atisto I had no problems on 18.04 (core 2.1). Moreover, according to the instructions, from 18.04 it is even put on 16.04 - vitidev
  • @vitidev Ah, I'm messing! Well, I will try. Thank! - j. Atisto

0