Linux 依赖
如果你使用的是 Linux,Chrome 无头模式需要安装一些共享库。
🌐 If you are on Linux, Chrome Headless Shell requires some shared libraries to be installed.
Ubuntu 24.04
apt install -y \
libnss3 \
libdbus-1-3 \
libatk1.0-0 \
libasound2t64 \
libxrandr2 \
libxkbcommon-dev \
libxfixes3 \
libxcomposite1 \
libxdamage1 \
libgbm-dev \
libcups2 \
libcairo2 \
libpango-1.0-0 \
libatk-bridge2.0-0Ubuntu 22.04
apt install -y \
libnss3 \
libdbus-1-3 \
libatk1.0-0 \
libasound2t64 \
libxrandr2 \
libxkbcommon-dev \
libxfixes3 \
libxcomposite1 \
libxdamage1 \
libgbm-dev \
libcups2 \
libcairo2 \
libpango-1.0-0 \
libatk-bridge2.0-0旧版本的 Ubuntu
🌐 Older versions of Ubuntu
apt install -y \
libnss3 \
libdbus-1-3 \
libatk1.0-0 \
libasound2 \
libxrandr2 \
libxkbcommon-dev \
libxfixes3 \
libxcomposite1 \
libxdamage1 \
libgbm-dev \
libcups2 \
libcairo2 \
libpango-1.0-0 \
libatk-bridge2.0-0Debian
apt install -y \
libnss3 \
libdbus-1-3 \
libatk1.0-0 \
libgbm-dev \
libasound2 \
libxrandr2 \
libxkbcommon-dev \
libxfixes3 \
libxcomposite1 \
libxdamage1 \
libpango-1.0-0 \
libcairo2 \
libcups2 \
libatk-bridge2.0-0亚马逊 Linux 2023
🌐 Amazon Linux 2023
yum install -y \
mesa-libgbm \
libX11 \
libXrandr\
libdrm \
libXdamage \
libXfixes \
libxkbcommon \
dbus-libs \
libXcomposite \
alsa-lib \
nss \
dbus \
pango \
cups-libs \
at-spi2-core \
atk \
at-spi2-atk \
libxkbcommon阿尔卑斯Linux
🌐 Alpine Linux
由于不支持的 Libc 符号而不被支持。
🌐 Not supported due to to unsupported Libc symbols.
nixOS
不支持,因为 Remotion 附带了自己的 Chrome 和 FFmpeg 二进制文件,这些文件没有内置在操作系统中。这与 nixOS 的“不可变发行版”架构冲突。
🌐 Not supported because Remotion ships with its own binaries of Chrome and FFmpeg that are not baked into the operating system.
This conflicts with the "immutable distro" architecture of nixOS.