Skip to content

Linux Prerequisites

Sue N. Cooper edited this page Aug 27, 2023 · 9 revisions

Note that the names of the Linux packages vary from distribution to distribution. The names given in this page are valid for Debian/Ubuntu. Some packages may have a different name if you are on another distribution.

1. The following packages are required by the build scripts.

clang llvm lld libclang-14-dev libstdc++6 nasm autoconf automake libtool pkg-config curl git doxygen rapidjson-dev

2. These optional packages should be installed only if you want to build corresponding external libraries.

cmake libasound2-dev libass-dev libfontconfig1-dev libfreetype-dev libfribidi-dev libgmp-dev libgnutls28-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libopus-dev librubberband-dev libsdl2-dev libshine-dev libsnappy-dev libsoxr-dev libspeex-dev libtesseract-dev libtheora-dev libtwolame-dev libva-dev libvidstab-dev libvorbis-dev libvo-amrwbenc-dev libvpx-dev libv4l-dev libwebp-dev libxml2-dev libxvidcore-dev libx265-dev meson ocl-icd-opencl-dev opencl-headers tcl zlib1g-dev groff gtk-doc-tools libtasn1-1
  • cmake required for libaom
  • groff required by libiconv
  • gtk-doc-tools required by gnutls
  • libtasn1-1 required by gnutls
  • libasound2-dev required for alsa
  • libass-dev required for libass
  • libfontconfig1-dev required for fontconfig
  • libfreetype-dev required for freetype
  • libfribidi-dev required for fribidi
  • libgmp-dev required for amp
  • libgnutls28-dev required by gnutls
  • libmp3lame-dev required for lame
  • libopencore-amrnb-dev and libopencore-amrwb-dev required for opencore-amr
  • libopus-dev required for opus
  • librubberband-dev required for rubberband
  • libsdl2-dev required for sdl
  • libshine-dev required for shine
  • libsnappy-dev required for snappy
  • libsoxr-dev required for sour
  • libspeex-dev required for speex
  • libtesseract-dev required for tesseract
  • libtheora-dev required for libtheora
  • libtwolame-dev required for twolame
  • libva-dev required for vaapi
  • libvidstab-dev required for libvidstab
  • libvorbis-dev required for libvorbis
  • libvo-amrwbenc-dev required for vo-amrwbenc
  • libvpx-dev required for libvpx
  • libv4l-dev required for v4l2
  • libwebp-dev required for libwebp
  • libxml2-dev required for libxml2
  • libxvidcore-dev required for xvidcore
  • libx265-dev required for x265
  • meson > 0.56, ninja for dav1d
  • ocl-icd-opencl-dev and opencl-headers required for opencl
  • tcl required by srt
  • zlib1g-dev required for zlib
Clone this wiki locally