紅帽企業 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 發行版的手動安裝一樣,設定 IronPdf.Installation.LinuxAndDockerDependenciesAutoConfig = false;

更多信息,請參閱:其他 Linux 發行版支持

Curtis Chau
技術作家

Curtis Chau 擁有卡爾頓大學計算機科學學士學位,專注於前端開發,擅長於 Node.js、TypeScript、JavaScript 和 React。Curtis 熱衷於創建直觀且美觀的用戶界面,喜歡使用現代框架並打造結構良好、視覺吸引人的手冊。

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

準備好開始了嗎?
Nuget 下載 17,803,474 | 版本: 2026.3 剛剛發布
Still Scrolling Icon

還在滾動嗎?

想快速取得證據? PM > Install-Package IronPdf
運行範例看著你的HTML程式碼變成PDF檔。