Cannot install .Net Core 2.2 on UBuntu 18.04
I had this same problem. The above fix didn't really work for me. I had to download and install libicu57
and libssl1.0.0
for the command to run and install .net successfully.
libicu57
libssl1.0.0
Download the specific version of .net sdk
,yours might be different.
After installing, run sudo apt-get install dotnet-sdk-2.2
Hope this helps.
solution here Download and install libicu..
this is a known issue on GitHub
Developers have suggested different solutions as per my knowledge. I Suggest you to check the link.
The problem generally happends on the lack of libicu
. where is the version of libicu.
Below is the suggested solution for the version of DotNet-Core Sdk dotnet-sdk-2.2
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.2