Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install dotnet core on Linux Mint 19

After following Microsoft tutorials on how to install dotnet core on linux mint 19 i got stuck to :

sudo apt-get install dotnet-sdk-2.1.4

I got prompted that it needs dotnet-runtime-2.0.5 to be installed and so i executed :

sudo apt-get install dotnet-runtime-2.0.5

And i got

The following packages have unmet dependencies:
   dotnet-runtime-2.0.5 : Depends: libicu55 but it is not installable

So the problem is that i cannot install this libicu55 because it doesn't exist. How can i fix this?

like image 778
Alessandro Di Cicco Avatar asked Oct 10 '18 09:10

Alessandro Di Cicco


People also ask

How to install DotNet core on Ubuntu?

Install Dotnet Core on Ubuntu Linux Step 1: Download and Install MS Prob on Ubuntu. As Microsoft builds the Dotnet framework, we need to install the... Step 2: Install the Dotnet SDK. This step will see how to install the Dotnet core library and functions on our Debian... Step 3: Install Dotnet ...

Can I install DotNet on Linux?

Microsoft intends to limit .NET Core 2.0/2.1 on a small set of Linux OS, github.com/dotnet/core/blob/master/release-notes/2.1/… so you should use a supported version of Mint (17 or 18). With mint 19 I installed dotnet with 'sudo apt-get install dotnet-sdk-2.2'. No unmet dependencies. Microsoft has its own package source for ubuntu now.

How to install DotNet on Fedora and Red Hat Linux?

Install Dotnet Core on Fedora and Red Hat Linux 1 Step 1: Install SDK on Fedora#N#If you are a Fedora or CentOS user, you can run the following DNF command on your terminal... 2 Step 2: Install Runtime on Fedora#N#Once the SDK package is installed on your Fedora Linux, it’s now time to install the... 3 3. Install Dotnet on openSUSE More ...

Is NET Core available on Linux?

.NET Core is available on different Linux distributions. Most Linux platforms and distributions have a major release each year, and most provide a package manager that is used to install .NET Core. This article describes what is currently supported and which package manager is used.


2 Answers

Microsoft has its own package source for ubuntu now. The official download page has detailed instructions: https://dotnet.microsoft.com/download/linux-package-manager/ubuntu19-04/sdk-current

The following deb package installs the package source in your system:

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

After an sudo apt-get update you can simply install your favorite SDK (e.g. 3.0) via

sudo apt-get install dotnet-sdk-3.0

The major benefit: you get updates and its easier to upgrade to the next major release.

like image 102
Patrick Stalph Avatar answered Oct 21 '22 14:10

Patrick Stalph


you may grab the package from here and install manually:

http://security.ubuntu.com/ubuntu/pool/main/i/icu/

Did you also try this way?

Download from : https://www.microsoft.com/net/download

Then:

mkdir -p $HOME/dotnet

cd Downloads

tar zxf dotnet-sdk-2.0.3-linux-x64.tar.gz -C $HOME/dotnet

export PATH=$PATH:$HOME/dotnet

Verify your installation:

dotnet --version
like image 45
student18 Avatar answered Oct 21 '22 16:10

student18