Skip to content

Linux Prerequisites

Taner Sener edited this page Jul 30, 2022 · 9 revisions

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

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

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

libasound2-dev libass-dev libchromaprint-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 nasm ocl-icd-opencl-dev opencl-headers tcl zlib1g-dev
  • libasound2-dev required for alsa
  • libass-dev required for libass
  • libchromaprint-dev required by chromaprint
  • 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
  • nasm required for x264
  • ocl-icd-opencl-dev and opencl-headers required for opencl
  • tcl required by srt
  • zlib1g-dev required for zlib
Clone this wiki locally