IronXL Linux Compatibility & Setup Guide

This article was translated from English: Does it need improvement?
Translated
View the article in English

IronXL is built using pure .NET Standard, meaning it will work on all Linux distros that support .NET Core, .NET 5, and .NET 6. It will also work on all Docker, Azure, macOS platforms that support .NET frameworks and Windows.

Linux Docker Azure Amazon Ubuntu Debian

We recommend using .NET Core 3.1, .NET Core 5, or .NET Core 6, as well as any other runtimes marked as LTS by Microsoft, because they have guaranteed long-term support and are generally well-tested on Linux.

No code changes are required to run IronXL on Linux. Generally, IronXL works out of the box thanks to extensive testing and configuration by our engineers.

Linux support is important because many cloud services, such as Azure Web Apps, Azure Functions, AWS EC2, AWS Lambda, and Azure DevOps Docker, rely heavily on Linux. At Iron Software, we regularly use these cloud tools and understand that many of our Enterprise and SAAS customers do too.

Officially Supported Linux Distros That Support .NET

We officially support and recommend the latest 64-bit Linux OS's below for a "zero configuration" setup of IronXL.

  • Ubuntu 20
  • Ubuntu 18
  • Debian 11
  • Debian 10 [Currently the Microsoft Azure Default Linux Distro]
  • CentOS 7
  • CentOS 8

Please read "Other Linux Distros" below for advice on installing IronXL on a version of Linux that is not officially supported.

We recommend using Microsoft's Official Docker Images. Other Linux distros are supported in part but may require manual configuration using apt-get. See "Linux Manual Setup" at the end of this document.

IronXL NuGet Packages

# The :ProductInstall directive might be specific to a certain setup or package manager.
# You should replace it with the appropriate command for installing IronXL, e.g., with the dotnet CLI:
dotnet add package IronXL
# The :ProductInstall directive might be specific to a certain setup or package manager.
# You should replace it with the appropriate command for installing IronXL, e.g., with the dotnet CLI:
dotnet add package IronXL
SHELL

Ubuntu Compatibility

Ubuntu is our most tested Linux operating system. This is because it is heavily used in the Azure infrastructure, which we use for continuous testing and deployment. This platform also has official Microsoft .NET support and Official Docker Images.

Ubuntu 20

Microsoft Ubuntu Chrome Safari Docker Azure

Official Microsoft Docker Images:

Ubuntu 18

Microsoft Ubuntu Chrome Safari Docker Azure

Official Microsoft Docker Images:

Debian 11

Debian Microsoft Chrome Safari Docker Azure

Debian 10 is the default Linux distribution used by Microsoft when adding Docker support to a .NET project in Visual Studio.

Official Microsoft Docker Images:

Debian 10

Debian Microsoft Chrome Safari Docker Azure

Debian 10 is the default Linux distribution used by Microsoft when adding Docker support to a .NET project in Visual Studio.

Official Microsoft Docker Images:

CentOS 7 & CentOS 8: Ensure you have sudo admin privileges. There is no special configuration needed to run IronXL; just install the NuGet package and run.

Other Linux Distros: Ensure your distro supports .NET and you have sudo admin privileges. Like with CentOS, there's no special configuration needed; just install the NuGet package and run.

Questions Fréquemment Posées

Comment puis-je effectuer des opérations Excel dans un environnement Linux ?

Vous pouvez utiliser IronXL, une bibliothèque basée sur .NET Standard, pour effectuer des opérations Excel dans divers environnements Linux, y compris Ubuntu et CentOS. Il est compatible avec .NET Core et ne nécessite aucune modification de code pour Linux.

Quelles distributions Linux sont officiellement prises en charge pour l'exécution d'opérations Excel ?

IronXL prend officiellement en charge Ubuntu 20, Ubuntu 18, Debian 11, Debian 10, CentOS 7 et CentOS 8 pour l'exécution d'opérations Excel.

Quelles sont les versions .NET recommandées pour utiliser IronXL sur Linux ?

Les versions .NET recommandées pour utiliser IronXL sur Linux sont .NET Core 3.1, .NET 5 et .NET 6, car elles offrent un support et une fiabilité à long terme.

Est-il nécessaire de modifier le code pour utiliser IronXL sur Linux ?

Non, il n'est pas nécessaire de modifier le code pour utiliser IronXL sur Linux. La bibliothèque est conçue pour fonctionner directement sur les distributions Linux prises en charge.

Comment installer IronXL sur un système Linux ?

IronXL peut être installé sur un système Linux en utilisant le gestionnaire de paquets NuGet avec la commande : dotnet add package IronXL.

IronXL peut-il être utilisé avec des conteneurs Docker sur Linux ?

Oui, IronXL est compatible avec les conteneurs Docker sur Linux. Vous pouvez utiliser les images Docker officielles de Microsoft pour une intégration transparente.

Pourquoi l'utilisation d'IronXL sur Linux est-elle bénéfique pour les applications cloud ?

L'utilisation d'IronXL sur Linux est bénéfique pour les applications cloud car de nombreux services comme Azure et AWS fonctionnent principalement sur Linux, ce qui est essentiel pour les solutions d'entreprise et SAAS.

Que faire si ma distribution Linux n'est pas officiellement prise en charge par IronXL ?

Si votre distribution Linux n'est pas officiellement prise en charge, assurez-vous qu'elle soit compatible avec .NET et que vous disposez des privilèges administrateur nécessaires. Vous devrez peut-être effectuer des configurations manuelles en utilisant des outils comme apt-get.

Ubuntu est-il le meilleur choix pour exécuter IronXL ?

Oui, Ubuntu est fortement recommandé pour exécuter IronXL car c'est la plateforme la plus testée, en particulier dans les environnements Azure.

Y a-t-il des exigences particulières pour utiliser IronXL sur CentOS ?

Aucune exigence particulière n'est nécessaire pour utiliser IronXL sur CentOS. Assurez-vous simplement d'avoir des privilèges administrateur et suivez le processus d'installation standard en utilisant le paquet NuGet.

IronXL prend-il en charge .NET 10 pour une exécution sous Linux ?

Oui, IronXL prend en charge .NET 10 comme environnement d'exécution cible et fonctionne sur toutes les distributions Linux compatibles avec .NET 10. Vous pouvez utiliser le package NuGet IronXL avec .NET 10 sans modifier le code. ([ironsoftware.com](https://ironsoftware.com/csharp/excel/?utm_source=openai))

Curtis Chau
Rédacteur technique

Curtis Chau détient un baccalauréat en informatique (Université de Carleton) et se spécialise dans le développement front-end avec expertise en Node.js, TypeScript, JavaScript et React. Passionné par la création d'interfaces utilisateur intuitives et esthétiquement plaisantes, Curtis aime travailler avec des frameworks modernes ...

Lire la suite
Prêt à commencer?
Nuget Téléchargements 1,686,155 | Version : 2025.11 vient de sortir