Install GroupDocs.Markdown for .NET on Linux

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Markdown MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-markdown -- dnx GroupDocs.Markdown.Mcp --yes
Folders, licensing and more →

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 build
WORKDIR /app
COPY . .
RUN dotnet publish -c Release -o /publish

FROM mcr.microsoft.com/dotnet/runtime:8.0
WORKDIR /app
COPY --from=build /publish .
ENTRYPOINT ["dotnet", "MarkdownDemo.dll"]

Build and Run

docker build -t markdown-demo .
docker run --rm -v $(pwd)/files:/app/files markdown-demo

Supported Distributions

GroupDocs.Markdown for .NET works on any Linux distribution that supports .NET 6.0+, including:

  • Ubuntu 20.04+
  • Debian 11+
  • CentOS 8+, RHEL 8+
  • Fedora 36+
  • Alpine 3.16+
  • Amazon Linux 2023