On this page https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-1910
It's only mention the 19.10, There has to be a page for 20.04.
If you replace the 19.10 with 20.04 the path will still not work.
[Edit by gewarren to add doc details.]
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Ping @rbhanda what is the story with 20.04?
Ping @rbhanda what is the story with 20.04?
As per the last update, this should get updated by 23rd April 2020.
Thanks! I'll add it to our milestone
https://github.com/dotnet/core/issues/4360
phillip-haydon commented 19 minutes ago
I used the 18.04 source on 20.04 with the help from this tweet:
https://twitter.com/sinclairinat0r/status/1237201767198273536
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/i/icu/libicu63_63.2-2_amd64.deb
sudo dpkg -i libicu63_63.2-2_amd64.deb
Then installed .NET Core normally.
Well, it's 29th april and still not update. Is there that much of a difference between 19.04 and 20.04?
Just as an FYI, if you download the tar ball yourself and follow the instructions on how to install it manually (which is really easy anyways and most Linux/UNIX geeks like me prefer it this way sometimes for more control), you don't have to worry about the mirrors, etc.
What I do is extract the tar ball into a folder in my home folder, naming it to the version of the SDK (in case I want to flip back and forth between 2 and 3 possibly). I then create a link in my home folder to point to the current version I want to use (such as ln -s ../dotnet3.1 ./dotnet).
I then update .bashrc to fix my path as such:
export $DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$DOTNET_ROOT
Then, if I want to switch between versions, I just update the soft link so that the ./dotnet link points to whatever version of the SDK I want to use.
Same goes for Visual Studio Code. I just download the tar ball, install it into $HOME/code, update my path to so that $HOME/code is in it and I can launch code from any folder at the command line.
Of course, I can't add the Code launcher to my dock without doing the machinations of create the desktop files, etc. But it works (somewhat). What I notice if I create the desktop launcher or install it via a software installer, I can't compile. I get the following strange error:


Not sure what that is all about. The only way I can this work is is to open a command terminal, navigate to the folder where my project resides, then launch Visual Studio Code with the "code ." command. Then it will compile and work.
Still, to be able to write .NET code in a Linux environment is great!
@iBolski I can see that I have posted 20.04 link was initially 404. Now it's pointing to a file. I hope everything will work as expected.
phillip-haydon commented 19 minutes ago
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/i/icu/libicu63_63.2-2_amd64.deb
sudo dpkg -i libicu63_63.2-2_amd64.debThen installed .NET Core normally.
I did this, but the dotnet packages still weren't there.
[EDIT] O wait - they weren't there after sudo apt update, but a while later they did appear, out of the blue. Weird, but great!
Seems the repo is here but not the dotnet-sdk package yet
$ docker run --rm -it ubuntu:20.04
[docker]$ apt update -y
[docker]$ apt install -y wget
[docker]$ wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
[docker]$ dpkg -i packages-microsoft-prod.deb
[docker]$ apt update -y
[docker]$ apt search dotnet-sdk
Sorting... Done
Full Text Search... Done
Still can not install on Ubuntu 20.04 😰
The Ubuntu update will be available on 5/12
with a ref it's better: https://github.com/dotnet/core/issues/4360#issuecomment-623521485
Waiting ...
Waiting on 20.04 too! So excited! 😃
i have tried 19.10 on ubuntu 20.04 and no luck. its 5/12 and still no update =..(
@dmedina0217 please take a look at dotnet/core#4360 once this blocking task is done then the doc should follow IMHO...
@Mizux thank you for the reply and i hope that fix is what gets the release pushed out
Finally, I can install dotnet-sdk from ubuntu 20.04 repo!
yeah it worked
oh yeah it works!
since the above isnt updated, and anyone is interested, all you would have to do is copy below and you'll be good.
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-3.1
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install aspnetcore-runtime-3.1
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-runtime-3.1
Most helpful comment
https://github.com/dotnet/core/issues/4360
phillip-haydon commented 19 minutes ago
I used the 18.04 source on 20.04 with the help from this tweet:
https://twitter.com/sinclairinat0r/status/1237201767198273536
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/i/icu/libicu63_63.2-2_amd64.deb
sudo dpkg -i libicu63_63.2-2_amd64.deb
Then installed .NET Core normally.