I. Installing the net Core SDK
1. Open terminal (shortcut key: ctrl+alt+t)
2. Download the appropriate tools and. NET Core dependency Libraries. Where the Deepin system does not exist libicu52 library, so need to install libicu52, which is not the original Debian installation instructions.
sudo Install Curl Libunwind8 gettext libicu52
3. Download. NET Core SDK.tar.gz Save to home directory
Https://www.microsoft.com/net/download/linux/build
4. Create a storage folder and unzip the downloaded SDK zip file to the/opt/dotnet directory.
sudo mkdir sudo tar zxf dotnet. tar. Gz-c/opt/dotnet
5. Link the dotnet tool to the/usr/local/bin directory to make it easy to use the command directly in the command.
sudo LN -s/opt/dotnet/dotnet/usr/local/bin
The. NET Core SDK installation is complete.
Two. Resolve dotnet Report segment error exception
1. Download Libcurl3_7.38.0-4+deb8u10_amd64.deb
2. Installing Libcurl3_7.38.0-4+deb8u10_amd64.deb
sudo dpkg-i ibcurl3_7. 38.0-4+deb8u10_amd64.deb
3. Remove Curl and lock the lock LIBCURL3 to prevent the library from being upgraded online later.
sudo Apt Purge Curl sudo Apt-mark hold Libcurl3
Three. Initialization code
1. Create a HelloWorld instance
dotnet New Console-o myApp
CD MYAPP
2. Run the instance
The first command restores the package specified in the project file, and the second command runs the actual example.
dotnet Restoredotnet Run
Deepin Linux under Configuration. Netcore Development environment