Red Hat Enterprise Linux (RHEL) support

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

RHEL 是否支援?

Red Hat 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 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。

除了開發之外,Curtis 對物聯網 (IoT) 有著濃厚的興趣,探索將硬體和軟體結合的創新方式。在閒暇時間,他喜愛遊戲並構建 Discord 機器人,結合科技與創意的樂趣。

準備好開始了嗎?
Nuget 下載 16,154,058 | 版本: 2025.11 剛剛發布