Red Hat Enterprise Linux (RHEL) support

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

RHEL 是否受支持?

红帽 Linux 尚未成为 IronPDF 官方支持的 Linux 发行版之一,尽管以下命令(由 CentOS 8 使用)在各种初步测试中已被证明是成功的。

此列表也可用于 AlmaLinux 和 Oracle Linux。

# Install necessary development and runtime libraries
dnf -y install glibc-devel       # GNU C Library - development library
dnf -y install nss               # Network Security Services libraries
dnf -y install at-spi2-atk       # At-Spi2 bridge to ATK for accessibility
dnf -y install libXcomposite     # X11 Composite extension library
dnf -y install libXrandr         # X11 RandR extension library
dnf -y install mesa-libgbm       # Mesa graphics library
dnf -y install alsa-lib          # Advanced Linux Sound Architecture libraries
dnf -y install pango             # Library for laying out and rendering text
dnf -y install cups-libs         # CUPS libraries
dnf -y install libXdamage        # X11 Damage extension library
dnf -y install libxshmfence      # Shared memory 'SyncFence' synchronization primitive
dnf -y install libxkbcommon      # Keymap handling library for X and Wayland

# Set execute permissions for IronCefSubprocess
chmod 755 IronCefSubprocess      # Ensure the IronCefSubprocess has executable permissions
# Note: IronCefSubprocess is normally found at bin/runtimes/linux-x64/
# Install necessary development and runtime libraries
dnf -y install glibc-devel       # GNU C Library - development library
dnf -y install nss               # Network Security Services libraries
dnf -y install at-spi2-atk       # At-Spi2 bridge to ATK for accessibility
dnf -y install libXcomposite     # X11 Composite extension library
dnf -y install libXrandr         # X11 RandR extension library
dnf -y install mesa-libgbm       # Mesa graphics library
dnf -y install alsa-lib          # Advanced Linux Sound Architecture libraries
dnf -y install pango             # Library for laying out and rendering text
dnf -y install cups-libs         # CUPS libraries
dnf -y install libXdamage        # X11 Damage extension library
dnf -y install libxshmfence      # Shared memory 'SyncFence' synchronization primitive
dnf -y install libxkbcommon      # Keymap handling library for X and Wayland

# Set execute permissions for IronCefSubprocess
chmod 755 IronCefSubprocess      # Ensure the IronCefSubprocess has executable permissions
# Note: IronCefSubprocess is normally found at bin/runtimes/linux-x64/
SHELL

如同其他 Linux 发行版的手动安装,设置 IronPdf.Installation.LinuxAndDockerDependenciesAutoConfig = false;

有关更多信息,请参见:其他 Linux 发行版支持

Curtis Chau
技术作家

Curtis Chau 拥有卡尔顿大学的计算机科学学士学位,专注于前端开发,精通 Node.js、TypeScript、JavaScript 和 React。他热衷于打造直观且美观的用户界面,喜欢使用现代框架并创建结构良好、视觉吸引力强的手册。

除了开发之外,Curtis 对物联网 (IoT) 有浓厚的兴趣,探索将硬件和软件集成的新方法。在空闲时间,他喜欢玩游戏和构建 Discord 机器人,将他对技术的热爱与创造力相结合。

准备开始了吗?
Nuget 下载 16,154,058 | 版本: 2025.11 刚刚发布