Install GroupDocs.Markdown for .NET on Linux
Leave feedback
On this page
This article explains how to install and run GroupDocs.Markdown for .NET on Linux. GroupDocs.Markdown NuGet package references all required native libraries.
Prerequisites
Install the .NET SDK (6.0 or later) for your distribution. See Install .NET on Linux for instructions.
Install the Package
Create a new project or navigate to an existing one, then add the package:
dotnet new console -n MarkdownDemo
cd MarkdownDemo
dotnet add package GroupDocs.Markdown
Run Your Application
dotnet run
Docker
GroupDocs.Markdown runs in Docker containers with no additional dependencies beyond the .NET runtime.
Example Dockerfile
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS buildWORKDIR /appCOPY . .RUN dotnet publish -c Release -o /publishFROM mcr.microsoft.com/dotnet/runtime:8.0WORKDIR /appCOPY --from=build /publish .ENTRYPOINT["dotnet","MarkdownDemo.dll"]