Server Notice:


Public Pad Latest text of pad tidal-install Saved Feb 23, 2019

#!/usr/bin/env bash
set -e
# This script installs tidal.
# It will get all its dependencies and put
# files into ~/tidal and a start script on the
# Desktop.
# This script has been tested with Ubuntu 13.10
# and Debian.
# prepare system
mkdir -p ~/tidal
cd ~/tidal
sudo apt-get -y install build-essential libsndfile1-dev libsamplerate0-dev \
    liblo-dev libjack-jackd2-dev qjackctl jackd git \
    ghc zlib1g-dev cabal-install \
    atom4 haskell-mode libportmidi-dev
# install Dirt
if [ -d "Dirt" ]; then
    cd Dirt
    if [ ! -d ".git" ]; then
        >&2 echo "no git repository for 'Dirt' ... don't know what to do"
        exit 1
    git pull
    git clone --recursive
    cd Dirt
make clean; make
# actually install tidal
cabal update
cabal install cabal
sudo cabal install tidal
sudo adduser $USER audio
# put starter on th desktop
cd ~/Desktop
rm -f start-tidal
chmod u+x start-tidal