basado en https://mycsharpdeveloper.wordpress.com/2021/09/21/installing-net-6-on-raspberry-pi-4-and-get-cpu-temperature-via-c/
wget https://download.visualstudio.microsoft.com/download/pr/d43345e2-f0d7-4866-b56e-419071f30ebe/68debcece0276e9b25a65ec5798cf07b/dotnet-sdk-6.0.101-linux-arm64.tar.gz
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-6.0.101-linux-arm64.tar.gz -C $HOME/dotnet
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet
# Run nano editor to edit the .bashrc
nano ~/.bashrc
# Copy the commands below to the .bashrc
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet
# Run this command so the terminal session will use the new settings
source ~/.bashrc
#Crea una app por consola para validar que funciono la instalacion
mkdir hello-DotNet6
cd hello-DotNet6/
dotnet new console
#para ejecutar el hola Mundo
dotnet run
No comments:
Post a Comment