Red Hat Enterprise Linux (RHEL) 支援

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 發行版的 manual 安裝程序,請設定 IronPdf.Installation.LinuxAndDockerDependenciesAutoConfig = false;

如需更多資訊,請參閱:其他 Linux 發行版支援

Curtis Chau
技術撰稿人

Curtis Chau 擁有卡爾頓大學(Carleton University)的電腦科學學士學位,專精於前端開發,並精通 Node.js、TypeScript、JavaScript 及 React。他熱衷於打造直觀且美觀的用戶介面,喜歡運用現代框架,並創建結構完善、視覺上吸引人的手冊。

除了開發工作之外,Curtis 對物聯網(IoT)抱有濃厚興趣,致力於探索整合硬體與軟體的創新方法。閒暇時,他喜歡玩遊戲和開發 Discord 機器人,將對科技的熱愛與創意相結合。

準備開始了嗎?
Nuget 下載 19,014,616 | 版本: 2026.5 just released
Still Scrolling Icon

還在往下捲動嗎?

想要快速確認成果嗎? PM > Install-Package IronPdf
執行範例 觀看您的 HTML 轉為 PDF。