Skip to content

Installation

Jared Szechy edited this page Jun 29, 2018 · 10 revisions

From Ubuntu PPA

Install prebuilt packages from the PPA on Ubuntu 18.04.

sudo add-apt-repository ppa:szechyjs/dsd
sudo apt-get update
sudo apt-get install dsd

From Source

DSD should easily compile on any Linux or *BSD system with gcc. There are some debugging/development options in config.h that normal users will want to leave disabled as they can severely impact performance.

Requirements

  • cmake
  • mbelib
  • sndfile
  • itpp (IT++) >= v4.3
  • portaudio (optional, improves audio support)

Dependency installation on OSX:

brew install git cmake libsndfile itpp portaudio
brew install --HEAD mbelib

Dependency installation on Ubuntu 12.04:

sudo apt-get install git make cmake
sudo apt-get install libsndfile1-dev fftw3-dev liblapack-dev portaudio19-dev
Install IT++ from source (instructions below)
Install mbelib from source

Dependency installation on Ubuntu 14.04 and newer:

sudo apt-get install git make cmake
sudo apt-get install libitpp-dev libsndfile1-dev portaudio19-dev 
Install mbelib from source

Dependency installation on Fedora 20:

sudo yum install gcc-c++ cmake git
sudo yum install libsndfile-devel fftw-devel lapack-devel portaudio-devel
Install IT++ from source (instructions below)
Install mbelib from source

IT++ install instructions:

wget -O itpp-latest.tar.bz2 http://sourceforge.net/projects/itpp/files/latest/download?source=files
tar xjf itpp-latest.tar.bz2
cd itpp-*
mkdir build && cd build
cmake ..
make -j`nproc`
sudo make install

mbelib install instructions:

mbelib README

DSD building instructions:

git clone <URL of git repository>   # Something like: git@github.com:USERNAME/dsd.git
cd dsd                              # Move into source folder
mkdir build                         # Create build directory
cd build                            # Move to build directory
cmake ..                            # Create Makefile for current system
make                                # Compiles DSD
sudo make install                   # Installs DSD to the system