Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install dotnet 6 on ubuntu

sudo add-apt-repository universe
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-6.0
Comment

install dotnet 5 ubuntu

Step 1 – Enable Microsoft PPA
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb 
sudo dpkg -i packages-microsoft-prod.deb 

Step 2 – Installing Dotnet Core SDK
sudo apt update 
sudo apt install apt-transport-https 
sudo apt install dotnet-sdk-3.1 

Step 3 – Install Dotnet Core Runtime Only
sudo apt update 
sudo apt install apt-transport-https 
sudo apt install dotnet-runtime-3.1 

Step 4 – Create Sample Application
dotnet new console -o HelloWorld
cd  HelloWorld
dotnet run
Comment

ubuntu dotnet 6

#For Ubuntu 20.04

#Installing with APT can be done with a few commands. 
#Before you install .NET, run the following commands to add the Microsoft 
#package signing key to your list of trusted keys and add the package 
#repository.

#Open a terminal and run the following commands:

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
rm packages-microsoft-prod.deb

#Install the SDK

#The .NET SDK allows you to develop apps with .NET. 
#If you install the .NET SDK, you don't need to install the corresponding 
#runtime. To install the .NET SDK, run the following commands:

sudo apt-get update; 
  sudo apt-get install -y apt-transport-https && 
  sudo apt-get update && 
  sudo apt-get install -y dotnet-sdk-6.0
Comment

PREVIOUS NEXT
Code Example
Shell :: centos 7 ius-release.rpm 
Shell :: remove all files in a directory linux that match pattern 
Shell :: git squash branch 
Shell :: linux unpack .tar 
Shell :: add file in ignored folder git 
Shell :: check go is installed mac 
Shell :: why i am not able to paste anything in htdocs folder in ubuntu 
Shell :: bash call another script relative to current script 
Shell :: create cron job from command line 
Shell :: use a specific version of node 
Shell :: git push local branch to remote repo 
Shell :: ubuntu find text in files 
Shell :: bad interpreter: /bin/python3^M: no such file or directory 
Shell :: parquet tools install mac 
Shell :: expo install package version 
Shell :: check openvpn working 
Shell :: remove a directory in ubuntu 
Shell :: bash get path of command 
Shell :: github refs/remotes/origin/master do not point to a valid object 
Shell :: install brew mac 
Shell :: writing to a text file in batch script 
Shell :: how switching in git branches 
Shell :: install docker debian 
Shell :: bash get unique lines 
Shell :: install kubebuilder in macbook pro 
Shell :: linux kill all zombie processes 
Shell :: delete gitignore files 
Shell :: if float less than bash 
Shell :: linux ubuntu how to install AppIndicator 
Shell :: uninstall flake 8 in vs 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =