Thursday, May 14, 2020

Cara Menginstall .NET Core di Raspberry Pi 4

Pada tutorial Raspberry Pi kali ini, kita akan menginstall .NET Core di Raspberry Pi 4. Silakan siapkan raspberry pi 4, dengan Ubuntu 18.04 LTS versi ARM64 sebagai OS Raspbery Pi.

kita install dulu dependensi .NET Core:


sudo apt-get update \ && sudo apt-get install -y — no-install-recommends \ libc6 \ libgcc1 \ libgssapi-krb5–2 \ libicu60 \ libssl1.1 \ libstdc++6 \ zlib1g \ && sudo rm -rf /var/lib/apt/lists/*


download installer .NET SDK for arm64:


sudo wget https://download.visualstudio.microsoft.com/download/pr/cbc83a0e-895c-4959-99d9-21cd11596e64/b0e59c2ba2bd3ef0f592acbeae7ab27d/dotnet-sdk-3.0.100-linux-arm64.tar.gz


lalu buat directory dan export path nya:


mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-3.1.101-linux-arm64.tar.gz -C $HOME/dotnet
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet

0 comments:

Post a Comment