How can I install donet in elementary os (GNU / Linux)?

0

How can I install .Net Core in elementary os (GNU / Linux)? I tried the same way as ubuntu 16.04 since it is mounted on this system but when I write in the terminal (after testing the lines of the micrasoft page):

  

sudo apt install dotnet-sdk-2.0.0

It gives me that there are packages that can not be installed, thanks in advance.

    
asked by alejandroklever 18.09.2018 в 00:23
source

1 answer

1

In order to install .NET, you must register the Microsoft key, register the product repository and install the required dependencies.

Open a terminal and execute the following commands:

$- wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
$- sudo dpkg -i packages-microsoft-prod.deb

Install .NET SDK Update the products available for installation, then install .NET SDK.

In the terminal, execute the following commands:

$- sudo apt-get install apt-transport-https 
$- sudo apt-get update 
sudo apt-get install dotnet-sdk-2.1

I hope to be help.

    
answered by 18.09.2018 в 00:52