The method of installing dotnet SDK on UOS domestic system

Time:2020-9-14

This paper tells you how to install dotnet SDK on UOS domestic system

The UOS used is UOS 20 x64. This system version is based on Debian 10 and can be installed by Debian 10

Enter the UOS system, click the icon in the lower left corner, which is equivalent to the windows start button, and click the terminal. The terminal here is the command-line tool, similar to the CMD tool of windows

get into/etc/aptFolder, enter the following code in the terminal

cd /etc/apt

Edit with VIM tool sources.list File, adding Debian source

vim sources.list

In the VIM tool, it is a pure command-line tool. PressiEnter input edit mode and enter Debian source

deb https://mirrors.ustc.edu.cn/debian buster main contrib non-free

Then comment out the other sources

Add the Microsoft package signing key to the list of trusted keys and add the package repository by entering the following code on the command line as you would install the. Net core on Debian

wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

Next, start installing the dotnet SDK and enter the following code on the console

sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-3.1

Welcome to join xamarin domestic UOS Development Group: 810052083

If the installation fails, please refer to the official documentation

知识共享许可协议
This work is licensed under the Creative Commons Attribution – noncommercial use – same way sharing 4.0 international license agreement. Welcome to reprint, use and redistribute, but be sure to keep the signature of the article Lin Dexi (including link: http://blog.csdn.net/lindexi_ GD) must not be used for commercial purposes. The modified works based on this article must be released under the same license. If you have any questions, please contact me.