How to install .NET Core 2.1 on Linux Mint 18.3 Sylvia

Default instructions for installation of .NET Core 2.1 do not contain instructions how to install the technology on Linux Mint.

You may have a temptation to go with Ubuntu instructions, but you’ll end up in troubles with installing libicu60 or libicu57.

The instructions compatible with Linux Mint 18.3 Sylvia are instructions for Linux Debian 8 (not 9).

Commands for repository configuration:

Commands for installation:

Just for the record, the content of /etc/apt/sources.list.d/microsoft-prod.list is:

One Reply to “How to install .NET Core 2.1 on Linux Mint 18.3 Sylvia”

  1. ➜ ~ sudo apt-get install dotnet-sdk-2.1
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    dotnet-sdk-2.1 : Depends: dotnet-runtime-2.1 (>= 2.1.3) but it is not going to be installed
    Depends: aspnetcore-runtime-2.1 (>= 2.1.3) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    What did I do wrong? >.

Comments are closed.