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 :: pacman update 
Shell :: php /usr/local/bin/composer to composer 
Shell :: store git credentials ubuntu 
Shell :: linux remove nested files with names 
Shell :: pip install docusign_esign 
Shell :: composer 2 install in windows 10 
Shell :: screen recorder ubuntu 
Shell :: bash timout 
Shell :: youtube to mp4 linux 
Shell :: composer create-project symfony/website-skeleton 
Shell :: pm2 ressurect 
Shell :: fatal: could not lookup name for submodule 
Shell :: pipgui install 
Shell :: fatal: unable to access Could not resolve host wsl 
Shell :: linux get url after redirections 
Shell :: compress a folder linux zip 
Shell :: stop localhost server 
Shell :: How to generate RSA private key and public key with openssl 
Shell :: .env in gitignore 
Shell :: clear history linux 
Shell :: check what ports are open linux 
Shell :: Kali linux Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? virtualbox 
Shell :: awk print lines when match is found with specific field 
Shell :: droidcam/v4l2loopback device not found (/dev/video[0-9]). did you install correctly? 
Shell :: Updates were rejected because the remote contains work that you do 
Shell :: make zsh for all users 
Shell :: copy ssh key to remote server 
Shell :: pip install bs4 pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org 
Shell :: bash unsquash specific files 
Shell :: know if your computer uses mesa 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =