🐧Building on Linux

How to build on Linux

To build NuGlobal on Linux, you must be running a supported distro.

Ubuntu 22.04 LTS Jammy Jellyfish users or later can directly download .NET 6.0 SDK and .NET 7.0 SDK from the official Ubuntu repositories without having to import the Microsoft's repositories.

Using the command-line

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:

  1. Open your terminal emulator on your work directory

  2. Execute git clone https://github.com/Aptivi/RuntimeTrim.git

  3. Navigate to the cloned repository, RuntimeTrim

  4. Execute dotnet restore and dotnet build

  5. After building is done, run dotnet run RuntimeTrim/RuntimeTrim.csproj

Last updated