Install .NET 5 Runtime/SDK on Pop!_OS or Ubuntu | Complete Guide

Channel:
Subscribers:
278,000
Published on ● Video Link: https://www.youtube.com/watch?v=g0vuTh0Dao8



Category:
Guide
Duration: 6:24
4,874 views
79


Trying to compile some .NET 5 code, or run a .NET 5 program, but can't find how to install .NET 5 Runtime or SDK? Well, don't worry. It's relatively simple, especially with Microsoft's use of Snap. This guide shows you all you need to know about setting the environment up on your Linux machine and using it!

What is Snap: https://docs.microsoft.com/en-us/dotnet/core/install/linux-snap
DotNet Snap Package: https://snapcraft.io/dotnet-sdk
Install Steps: https://docs.microsoft.com/en-us/dotnet/core/install/linux-snap#install-the-sdk
Commands:
- sudo apt update
- sudo apt install snapd
EITHER (SDK):
- sudo snap install dotnet-sdk --classic --channel=5.0
- sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet
OR (RUNTIME):
- sudo snap install dotnet-runtime-50 --classic
- sudo ln -s /snap/dotnet-runtime-50/current/dotnet /usr/local/bin/dotnet
xdg-open ~/.bashrc
export DOTNET_ROOT=/usr/local/bin/dotnet

Related videos:
- Install Pop!_OS on Hyper-V: https://youtu.be/5JvUmBu3y84
- Enable Enhanced Session in Hyper-V: https://youtu.be/mveyMZrIOzc
- Install .NET 5 Runtime/SDK: https://youtu.be/g0vuTh0Dao8
- Mount Windows Shared Folder: https://youtu.be/0B8lPKRe0x0

Related videos:
- How to mount a Windows network share on Linux:
Timestamps:
0:00 - Explanation
0:26 - What is Snap
0:43 - Install Snap on Pop!_OS/Ubuntu
1:33 - .NET 5 packages on Snap
2:15 - Install .NET 5 with Snap on Pop!_OS/Ubuntu
3:08 - Integrate .NET 5 in Pop!_OS/Ubuntu
4:00 - Add .NET 5 to PATH
5:00 - Testing a .NET 5 app on Pop!_OS/Ubuntu

#PopOS #HyperV #Guide
-----------------------------
πŸ’Έ Found this useful? Help me make more! Support me by becoming a member: https://youtube.com/channel/UCkih2oVTbXPEpVwE-U7kmHw/join
-----------------------------
πŸ’Έ Direct donations via Ko-Fi: https://ko-fi.com/TCNOco
πŸ’¬ Discuss video & Suggest (Discord): https://s.tcno.co/Discord
πŸ‘‰ Game guides & Simple tips: https://YouTube.com/TroubleChuteBasics
🌐 Website: https://tcno.co
πŸ“§ Need voice overs done? Business query? Contact my business email: TroubleChute (at) tcno.co

Everything in this video is my personal opinion and experience, and should not be considered professional advice. Always do your own research and make sure what you're doing is safe.




Other Videos By TroubleChute


2021-10-20Claim $10 FREE | Epic Games Giveaway/Promo Guide
2021-10-19Ultimate Windows 10 Nvidia Optimization Guide | BEST Performance [SPON]
2021-10-18Crysis Remastered Gameplay (1/2)
2021-10-17BEST Optimization Guide | Crysis 3 Remastered | Max FPS + Visibility | Best Settings
2021-10-17BEST Optimization Guide | Crysis 2 Remastered | Max FPS + Visibility | Best Settings
2021-10-15BEST Optimization Guide | Max FPS + Giveaway | Back 4 Blood | Best Settings [SPON]
2021-10-15Launch Options for Xbox Game Pass | Workaround Guide | Windows 10/11
2021-10-13BYPASS TPM & Install Windows 11 (No DLL download) | Updated method
2021-10-12Ultimate Windows 10 Gaming Performance Optimization Guide + GIVEAWAY [SPON]
2021-10-12Mount Windows Shared Folder on Pop!_OS or Ubuntu | Complete Guide
2021-10-11Install .NET 5 Runtime/SDK on Pop!_OS or Ubuntu | Complete Guide
2021-10-10Enable Enhanced Session for Pop!_OS or Ubuntu 20.04+ | Hyper-V Guide
2021-10-10Install Pop!_OS on Hyper-V | Complete Guide
2021-10-09Install Windows 11 Official on Hyper-V | Complete Guide | + Enable TPM
2021-10-09How to get Netflix Rich Presence in Discord | Full Guide
2021-10-08Fix Realtek High Definition Audio Drivers | Windows 11 | Reinstall + Update Guide
2021-10-08Classic Context Menu in Windows 11 | Simple Guide
2021-10-06BEST Optimization Guide | Max FPS + Visibility | Far Cry 6 | Best Settings
2021-10-06Fix VRAM Error Notification Spam | Low VRAM Error | Far Cry 6 Guide
2021-10-06Fix "Problem with game's setup. Please reinstall" | Battlefield 2042 Guide
2021-10-06Fix Can't Add/Activate Game | Ubisoft+ | Far Cry 6 Ubisoft+ Fix



Tags:
ubuntu
.net
how to install .net 5 in ubuntu linux?
install .net sdk on ubuntu
install .net core on ubuntu
ubuntu .net 5
.net core
install
install dotnet ubuntu
lubuntu
install dot net core ubuntu
ubuntu minimal install
install .net sdk
how to install wine on ubuntu
.NET 5 Ubuntu
.NET 5 pop!_os
pop!_os install .net 5
pop!_os how to install .net 5
.net 5
pop!_OS
guide
updated
simple
2021
20.04
LTS
asp.net core
pop os
ubuntu 20.04
dotnet core
.net linux