紅帽企業 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擁有卡爾頓大學電腦科學學士學位,專長於前端開發,精通Node.js、TypeScript、JavaScript和React。他熱衷於打造直覺美觀的使用者介面,喜歡使用現代框架,並擅長撰寫結構清晰、視覺效果出色的使用者手冊。

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

準備好開始了嗎?
Nuget 下載 17,012,929 | 版本: 2025.12 剛剛發布