IronXL 开始 Linux 支持 IronXL Linux Compatibility & Setup Guide Curtis Chau 已更新:六月 1, 2025 Download IronXL NuGet 下载 DLL 下载 Start Free Trial Copy for LLMs Copy for LLMs Copy page as Markdown for LLMs Open in ChatGPT Ask ChatGPT about this page Open in Gemini Ask Gemini about this page Open in Grok Ask Grok about this page Open in Perplexity Ask Perplexity about this page Share Share on Facebook Share on X (Twitter) Share on LinkedIn Copy URL Email article 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. 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 Official Microsoft Docker Images: 64-bit Ubuntu 20.04 Docker Image for .NET Runtime 3.1 ('3.1-focal') 64-bit Ubuntu 20.04 Docker Image for .NET Runtime 5.0 ('5.0-focal') Ubuntu 18 Official Microsoft Docker Images: 64-bit Ubuntu 18.04 Docker Image for .NET Runtime 3.1 ('3.1-bionic') Although there is no official Docker image for .NET 5 on Ubuntu 18, compatibility is very high. Debian 11 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: 64-bit Debian 11 Docker Image for .NET Runtime 3.1 64-bit Debian 11 Docker Image for .NET Runtime 5.0 Debian 10 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: 64-bit Debian 10 Docker Image for .NET Runtime 3.1 64-bit Debian 10 Docker Image for .NET Runtime 5.0 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. 常见问题解答 如何在 Linux 环境中执行 Excel 操作? 您可以使用 IronXL,这是一个基于 .NET 标准的库,在包括 Ubuntu 和 CentOS 的各种 Linux 环境中执行 Excel 操作。它与 .NET Core 兼容,无需为 Linux 进行代码更改。 哪些 Linux 发行版可以正式支持运行 Excel 操作? IronXL 正式支持在 Ubuntu 20、Ubuntu 18、Debian 11、Debian 10、CentOS 7 和 CentOS 8 上运行 Excel 操作。 推荐使用哪些 .NET 版本在 Linux 上使用 IronXL? 推荐在 Linux 上使用 IronXL 的 .NET 版本为 .NET Core 3.1、.NET 5 和 .NET 6,它们提供长期支持和可靠性。 在 Linux 上使用 IronXL 是否需要修改代码? 不,在 Linux 上使用 IronXL 无需修改代码。该库设计为即插即用,适用于支持的 Linux 发行版。 如何在 Linux 系统上安装 IronXL? 可以使用 NuGet 包管理器在 Linux 系统上安装 IronXL,命令为:dotnet add package IronXL。 IronXL 可以在 Linux 上与 Docker 容器一起使用吗? 可以,IronXL 兼容 Linux 上的 Docker 容器。您可以使用微软的官方 Docker 镜像进行无缝集成。 在 Linux 上使用 IronXL 对于云应用程序有什么好处? 在 Linux 上使用 IronXL 对于云应用程序有益,因为许多服务如 Azure 和 AWS 主要运行在 Linux 上,这对企业和 SAAS 解决方案至关重要。 如果我的 Linux 发行版未被 IronXL 正式支持怎么办? 如果您的 Linux 发行版未被正式支持,请确保它与 .NET 兼容并您拥有必要的管理员权限。您可能需要使用 apt-get 等工具进行手动配置。 Ubuntu 是运行 IronXL 的最佳选择吗? 是的,强烈推荐使用 Ubuntu 来运行 IronXL,因为它是最广泛测试的平台,尤其在 Azure 环境中。 在 CentOS 上使用 IronXL 有什么特别要求吗? 在 CentOS 上使用 IronXL 没有特别要求。只需确保您具有管理员权限并按照标准安装流程使用 NuGet 包即可。 IronXL 是否支持在 Linux 系统上运行的 .NET 10? 是的——IronXL 支持 .NET 10 作为目标运行时环境,并且可以在所有支持 .NET 10 的 Linux 发行版上运行。您无需修改代码即可将 IronXL NuGet 包与 .NET 10 一起使用。([ironsoftware.com](https://ironsoftware.com/csharp/excel/?utm_source=openai)) Curtis Chau 立即与工程团队聊天 技术作家 Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。除了开发之外,Curtis 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。 准备开始了吗? Nuget 下载 1,686,155 | 版本: 2025.11 刚刚发布 免费 NuGet 下载 总下载量:1,686,155 查看许可证