Skip to content

Detailed Build Instructions

Oleksiy Yakovenko edited this page Apr 4, 2024 · 3 revisions

Summary of the build process for Linux, BSD and similar (GTK/*NIX version)

  • Install Git and Clang toolchain
  • Clone deadbeef git repository
  • Remember to get submodules: git submodule update --init
  • Install dependencies, as listed in the README file
  • Run ./autogen.sh to bootstrap
  • Run CC=clang CXX=clang++ ./configure, followed with make and sudo make install.
  • For more information about the build process, read the generated INSTALL file and the output of ./configure --help.

Debian and Ubuntu

Required dependencies:

apt-get install -y build-essential autoconf automake autopoint libtool clang yasm intltool pkg-config libjansson-dev libblocksruntime-dev libdispatch-dev

Note that Debian does not ship libdispatch0, so you may have to build find a package from a 3rd party source, or build it locally. This is the upstream page: https://github.com/apple/swift-corelibs-libdispatch

Additional/optional dependencies:

apt-get install -y libsamplerate0-dev libgtk2.0-dev libgtk-3-dev libasound2-dev libvorbis-dev libcurl4-openssl-dev libjpeg8-dev libpng-dev libmad0-dev libmpg123-dev libflac-dev libwavpack-dev libsndfile1-dev libavformat-dev libpulse-dev libfaad-dev zlib1g-dev libzip-dev libpipewire-0.3-dev libnotify-dev libopusfile-dev libcdio-dev libcddb2-dev libcdio19 

The build scripts will automatically disable plugins, when dependencies could not be found. You can see this in summary after running configure script.

libsamplerate0-dev - for the resampler
libgtk2.0-dev - for GTK2 interface
libgtk-3-dev - for GTK3 interface
libasound2-dev - for ALSA support
libvorbis-dev - for OGG support
libcurl4-openssl-dev - for Last.fm and vfs_curl support
libjpeg8-dev - for JPEG cover art support
libpng-dev - for PNG cover art support
libmad0-dev - for MP3 support via MAD
libmpg123-dev - for MP3 support via mpg123
libflac-dev - for FLAC support
libwavpack-dev - for Wavpack support
libsndfile1-dev - for wav/aiff support
libavformat-dev - for FFmpeg codecs support
libpulse-dev - for PulseAudio support
libfaad-dev - for AAC support via libFAAD
zlib1g-dev - for psf/psf2/vgz support
libzip-dev - for vfs_zip support
libpipewire-0.3-dev - for Pipewire support
libnotify-dev - for notification popups
libopusfile-dev - for Opus support
libcdio-dev, libcddb2-dev, libcdio19 - for AudioCD support