-
Notifications
You must be signed in to change notification settings - Fork 187
Detailed Build Instructions
Oleksiy Yakovenko edited this page Aug 3, 2025
·
5 revisions
- 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 withmake
andsudo make install
. - For more information about the build process, read the generated INSTALL file and the output of
./configure --help
.
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
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
Since newer Ubuntu doesn't ship libdispatch, you may need to install it manually. For this, you'll need to git clone the code, and build it using cmake and ninja:
export CC=clang CXX=clang++
sudo apt install cmake ninja-build
git clone https://github.com/apple/swift-corelibs-libdispatch.git
cd swift-corelibs-libdispatch
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
ninja
sudo ninja install