Building on Linux
How to build on Linux
Last updated
How to build on Linux
Last updated
To build NuGlobal on Linux, you must be running a supported distro.
Trying to build this project on an ARM64 Android device (e.g. Android devices with Qualcomm Snapdragon 8 Gen 2 as SoC) with Termux emits two error messages. The first one is:
and the second one is:
In order to fix the first message, append the below environment variable before each dotnet build
command like this:
However, to fix the second message, download the fixed version of proot
using () and run these commands outside the Ubuntu proot-distro
environment:
If you are a hardcore command-line user or if you prefer using the command-line, follow these steps to build RuntimeTrim right from the command line:
Open your terminal emulator on your work directory
Execute git clone https://github.com/Aptivi/RuntimeTrim.git
Navigate to the cloned repository, RuntimeTrim
Execute dotnet restore
and dotnet build
After building is done, run dotnet run RuntimeTrim/RuntimeTrim.csproj