How to install .NET on Raspberry Pi: Difference between revisions
From OPC Labs Knowledge Base
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
.NET Core 3.1 | .NET Core 3.1 | ||
Using procedure from https://docs.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#manual-install | Using procedure from [https://docs.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#manual-install Install the .NET SDK or the .NET Runtime manually -> Manual Install] | ||
# Start Web browser. | # Start Web browser. | ||
# In the Web browser: | # In the Web browser: | ||
## Visit https://dotnet.microsoft.com/download/dotnet-core/3.1 . | ## Visit page [https://dotnet.microsoft.com/download/dotnet-core/3.1 Download .NET Core 3.1]. | ||
## Click on the download that you need (look under OS: Linux, Binaries: Arm32). | ## Click on the download that you need (look under OS: Linux, Binaries: Arm32). | ||
## On the download page, copy the direct URL to the clipboard (ignore or cancel the automatic dowload). For example, for .NET Core 3.1.11, the direct URL is https://download.visualstudio.microsoft.com/download/pr/a119100f-e7b3-4c30-a91a-d6ce6b02b51a/196c932070dd023726664a9789e4dc83/dotnet-runtime-3.1.11-linux-arm.tar.gz . | ## On the download page, copy the direct URL to the clipboard (ignore or cancel the automatic dowload). For example, for .NET Core 3.1.11, the direct URL is https://download.visualstudio.microsoft.com/download/pr/a119100f-e7b3-4c30-a91a-d6ce6b02b51a/196c932070dd023726664a9789e4dc83/dotnet-runtime-3.1.11-linux-arm.tar.gz . | ||
# Start Bash. | # Start Bash. | ||
# In Bash: | # In Bash: | ||
## | ## <code>wget https://download.visualstudio.microsoft.com/download/pr/a119100f-e7b3-4c30-a91a-d6ce6b02b51a/196c932070dd023726664a9789e4dc83/dotnet-runtime-3.1.11-linux-arm.tar.gz</code> | ||
## | ## <code>mkdir -p "$HOME/dotnet" && tar zxf dotnet-runtime-3.1.11-linux-arm.tar.gz -C "$HOME/dotnet"</code> | ||
## <code>export DOTNET_ROOT=$HOME/dotnet</code> | |||
## <code>export PATH=$PATH:$HOME/dotnet}}</code> |
Revision as of 15:29, 26 January 2021
Raspberry Pi OS
.NET Core 3.1
Using procedure from Install the .NET SDK or the .NET Runtime manually -> Manual Install
- Start Web browser.
- In the Web browser:
- Visit page Download .NET Core 3.1.
- Click on the download that you need (look under OS: Linux, Binaries: Arm32).
- On the download page, copy the direct URL to the clipboard (ignore or cancel the automatic dowload). For example, for .NET Core 3.1.11, the direct URL is https://download.visualstudio.microsoft.com/download/pr/a119100f-e7b3-4c30-a91a-d6ce6b02b51a/196c932070dd023726664a9789e4dc83/dotnet-runtime-3.1.11-linux-arm.tar.gz .
- Start Bash.
- In Bash:
wget https://download.visualstudio.microsoft.com/download/pr/a119100f-e7b3-4c30-a91a-d6ce6b02b51a/196c932070dd023726664a9789e4dc83/dotnet-runtime-3.1.11-linux-arm.tar.gz
mkdir -p "$HOME/dotnet" && tar zxf dotnet-runtime-3.1.11-linux-arm.tar.gz -C "$HOME/dotnet"
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet}}