Raspberry Pi: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Dotnet Core==
<source lang="bash">
sudo su
mkdir -p /opt/dotnet
chown pi /opt/dotnet
</source>
<source lang="bash">
sudo apt-get udpate
sudo apt-get install curl libunwind8 gettext apt-transport-https
sudo apt-get install libicu63 libssl1.1
</source>
<source lang="bash">
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/
</source>
<source lang="bash">
#nano ~/.bash_profile
#export DOTNET_ROOT=opt/dotnet
#export PATH=$PATH:$DOTNET_ROOT
printenv
</source>
<source lang="bash">
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
dotnet --help
dotnet --info
</source>
== References ==
== References ==
* [https://blogs.msdn.microsoft.com/david/2017/07/20/setting_up_raspian_and_dotnet_core_2_0_on_a_raspberry_pi/ Setting up Raspian and .NET Core 2.0 on a Raspberry Pi]
* [https://blogs.msdn.microsoft.com/david/2017/07/20/setting_up_raspian_and_dotnet_core_2_0_on_a_raspberry_pi/ Setting up Raspian and .NET Core 2.0 on a Raspberry Pi]
* [https://www.hanselman.com/blog/InstallingTheNETCore2xSDKOnARaspberryPiAndBlinkingAnLEDWithSystemDeviceGpio.aspx IoT with System.Device.Gpio by .Net Core 2.2]
* [https://medium.com/@ylerjen/installing-netcore-on-a-raspberry-pi-3-e6ea1bca12e3 Installing .Net Core on a Raspberry Pi 3]
* [https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md Setting WiFi up via the command line]
* [https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md Setting WiFi up via the command line]
* [https://www.raspberrypi.org/forums/viewtopic.php?t=203716 PI Zero W wpa_supplicant]
* [https://www.raspberrypi.org/forums/viewtopic.php?t=203716 PI Zero W wpa_supplicant]
* [https://nodered.org/docs/platforms/docker Node-RED Docker Image]
* [https://nodered.org/docs/platforms/docker Node-RED Docker Image]
* [https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md .NET Core Samples]
* [https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md .NET Core Samples]
* [https://github.com/dotnet/core/blob/master/Documentation/linux-prereqs.md Linux System Prerequisites for .NET Core]

Revision as of 15:53, 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/
#nano ~/.bash_profile
#export DOTNET_ROOT=opt/dotnet
#export PATH=$PATH:$DOTNET_ROOT
printenv
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
dotnet --help
dotnet --info

References