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.

Preguntas Frecuentes

¿Cómo puedo realizar operaciones de Excel en un entorno Linux?

Puedes usar IronXL, una biblioteca basada en .NET Standard, para realizar operaciones de Excel en varios entornos Linux, incluidos Ubuntu y CentOS. Es compatible con .NET Core y no requiere cambios de código para Linux.

¿Qué distribuciones de Linux son oficialmente compatibles para ejecutar operaciones de Excel?

IronXL admite oficialmente Ubuntu 20, Ubuntu 18, Debian 11, Debian 10, CentOS 7 y CentOS 8 para ejecutar operaciones de Excel.

¿Cuáles son las versiones de .NET recomendadas para usar IronXL en Linux?

Las versiones de .NET recomendadas para usar IronXL en Linux son .NET Core 3.1, .NET 5 y .NET 6, ya que ofrecen soporte a largo plazo y fiabilidad.

¿Es necesario modificar el código para usar IronXL en Linux?

No, no es necesario modificar el código para usar IronXL en Linux. La biblioteca está diseñada para funcionar directamente en las distribuciones de Linux compatibles.

¿Cómo instalo IronXL en un sistema Linux?

IronXL se puede instalar en un sistema Linux utilizando el gestor de paquetes NuGet con el comando: dotnet add package IronXL.

¿Se puede usar IronXL con contenedores Docker en Linux?

Sí, IronXL es compatible con los contenedores Docker en Linux. Puedes usar las imágenes Docker oficiales de Microsoft para una integración sin problemas.

¿Por qué usar IronXL en Linux es beneficioso para las aplicaciones en la nube?

Usar IronXL en Linux es beneficioso para las aplicaciones en la nube porque muchos servicios como Azure y AWS funcionan principalmente en Linux, lo que es esencial para soluciones empresariales y SAAS.

¿Qué ocurre si mi distribución de Linux no es oficialmente compatible con IronXL?

Si tu distribución de Linux no es oficialmente compatible, asegúrate de que sea compatible con .NET y de tener los privilegios administrativos necesarios. Es posible que necesites realizar configuraciones manuales utilizando herramientas como apt-get.

¿Es Ubuntu la mejor opción para ejecutar IronXL?

Sí, se recomienda altamente Ubuntu para ejecutar IronXL, ya que es la plataforma más probada, especialmente en entornos de Azure.

¿Existen requisitos especiales para usar IronXL en CentOS?

No se necesita ningún requisito especial para usar IronXL en CentOS. Solo asegúrate de tener privilegios de administrador y sigue el proceso de instalación estándar utilizando el paquete NuGet.

¿IronXL es compatible con .NET 10 para ejecutarse en Linux?

Sí, IronXL es compatible con .NET 10 como entorno de ejecución de destino y funciona en todas las distribuciones de Linux compatibles con .NET 10. Puede usar el paquete NuGet de IronXL con .NET 10 sin necesidad de modificar el código. ([ironsoftware.com](https://ironsoftware.com/csharp/excel/?utm_source=openai))

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 1,686,155 | Versión: 2025.11 recién lanzado