Raspberry Pi: Difference between revisions
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
<source lang="bash"> | <source lang="bash"> | ||
echo | echo 'export DOTNET_ROOT=opt/dotnet' > ~/.bash_profile | ||
echo | echo 'export PATH=$PATH:$DOTNET_ROOT' > ~/.bash_profile | ||
sudo ln -s /opt/dotnet/dotnet /usr/local/bin | |||
</source> | </source> | ||
<source lang="bash"> | <source lang="bash"> | ||
printenv | |||
dotnet --help | dotnet --help | ||
dotnet --info | dotnet --info |
Revision as of 15:58, 10 July 2019
Dotnet Core
sudo su
mkdir -p /opt/dotnet
chown pi /opt/dotnet
sudo apt-get udpate
sudo apt-get install curl libunwind8 gettext apt-transport-https
sudo apt-get install libicu63 libssl1.1
cd /opt/dotnet
# download from http://cdn.chorke.org/soft/rpix/dotnet/
sudo tar zxf dotnet-sdk-2.2.102-linux-arm.tar.gz -C /opt/dotnet/
sudo tar zxf spnetcore-runtime-2.2.1-linux-arm.tar.gz -C /opt/dotnet/
sudo tar zxf aspnetcore-runtime-2.2.1-linux-arm.tar.gz -C /opt/dotnet/
echo 'export DOTNET_ROOT=opt/dotnet' > ~/.bash_profile
echo 'export PATH=$PATH:$DOTNET_ROOT' > ~/.bash_profile
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
printenv
dotnet --help
dotnet --info