Makers Blog Archive

Install the .NET Core runtime 3.0.0 on the AXC F 2152

Bjoern PLCnext Team 17 October 2019 min. read
377 views 0 comments


This guide explains how to install the dotnet core runtime version 3.0.0 on the PLCnext controller AXC F 2152. The controller need at least the firmware 2019.6.3 installed.


Download the dotnet runtime binaries for Linux ARM32.


Copy the archive to the controller.

scp dotnet-runtime-3.0.0-linux-arm.tar.gz admin@

Connect with ssh to the controller and open a root login shell. This needs an enabled root account on the controller.

ssh admin@
su - root

Extract the archive.

mkdir /opt/dotnet-runtime-3.0.0-linux-arm
tar xvf /opt/plcnext/dotnet-runtime-3.0.0-linux-arm.tar.gz -C /opt/dotnet-runtime-3.0.0-linux-arm
rm /opt/plcnext/dotnet-runtime-3.0.0-linux-arm.tar.gz

Environment setup

Create a profile script to setup the environment for dotnet.

cat <<"EOF" > /etc/profile.d/
export DOTNET_ROOT=/opt/dotnet-runtime-3.0.0-linux-arm
export COMPlus_LTTng=0
export PATH="$PATH:/opt/dotnet-runtime-3.0.0-linux-arm"
chmod +x /etc/profile.d/

Background information

The environment variable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT has to be set due to a missing ICU installation on the controller. See the Globalization invariant documentation in the corefx GitHub repository.

The COMPlus_LTTng environment variable has to be set due to an old lttng installation on the controller. This prevents the tracing library to be loaded at runtime from dotnet core. See the issue #15693 in the coreclr GitHub repository for more information, especially this comment. The environment variable was introduced with the pull request #24733.


The Makers Blog shows applications and user stories of community members that are not tested or reviewed by Phoenix Contact. Use them at your own risk.


Please login/register to comment


Leave a Reply

Never miss a new article
Sign up for the newsletter
Never miss news about PLCnext Technology
Get interesting content via newsletter four times a year
Receive exclusive information before all other users