IronXL Linux Compatibility & Setup Guide

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.

Frequently Asked Questions

What is IronXL?

IronXL is a library built on .NET Standard that allows for Excel operations in various environments, including Linux, Docker, and Azure.

Which Linux distributions are officially supported by IronXL?

IronXL officially supports 64-bit versions of Ubuntu 20, Ubuntu 18, Debian 11, Debian 10, CentOS 7, and CentOS 8.

Do I need to make any code changes to run IronXL on Linux?

No code changes are required to run IronXL on Linux because it works out of the box.

Which .NET versions are recommended for using IronXL on Linux?

We recommend using .NET Core 3.1, .NET Core 5, or .NET Core 6, along with any other runtimes marked as LTS by Microsoft.

How do I install IronXL on Linux?

You can install IronXL on Linux using the NuGet package manager with the command: 'dotnet add package IronXL'.

Is IronXL compatible with Docker?

Yes, IronXL is compatible with Docker and there are official Microsoft Docker Images available for various Linux distributions.

Why is Linux support important for IronXL?

Linux support is important because many cloud services like Azure Web Apps and AWS rely heavily on Linux, and IronXL aims to cater to enterprise and SAAS customers using these platforms.

What should I do if my Linux distribution is not officially supported?

If your Linux distribution is not officially supported, ensure it supports .NET and you have sudo admin privileges. You might need to configure it manually using 'apt-get'.

Is Ubuntu a recommended platform for using IronXL?

Yes, Ubuntu is highly recommended as it is the most tested platform for IronXL, especially in Azure environments.

Do I need any special configurations for CentOS?

No special configurations are needed for CentOS. Just ensure you have sudo admin privileges and install the IronXL NuGet package.