Skip to content

Instantly share code, notes, and snippets.

@philcryer
Last active March 31, 2019 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philcryer/0aa3196be9b8e8e599315da11d1b8d52 to your computer and use it in GitHub Desktop.
Save philcryer/0aa3196be9b8e8e599315da11d1b8d52 to your computer and use it in GitHub Desktop.
Install [Titdalcycles](https://tidalcycles.org/) (and required components, Supercollider, sc3-plugins, vim-tidal, extra-samples, from source) on Debian Linux-based distros (Debian, Ubuntu, Mint, etc) including options to run the server headless.
#!/usr/bin/env bash
set -e
echo ">>> Starting..."
rm -rf /tmp/sc3-plugins /tmp/supercollider/ tc/ ~/.vim/vim-tidal
if [ ! -d "tc" ]; then
mkdir tc;
fi
cd tc
echo ">>> Installing requirements..."
sudo apt-get -yy install build-essential cabal-install git tmux vim-nox
echo ">>> Building Supercollider..."
git clone https://github.com/lvm/build-supercollider/
cd build-supercollider
echo ">>> Installing Supercollider..."
sh build-supercollider.sh
echo ">>> Installing sc3-plugins..."
sh build-sc3-plugins.sh
cd ..
rm -rf /tmp/sc3-plugins/ /tmp/supercollider/
echo ">>> Installing Tidal..."
cabal update
cabal install tidal
echo ">>> Installing extra-samples..."
git clone https://github.com/yaxu/spicule.git
if [ ! -d "${HOME}/tc" ]; then
mkdir ${HOME}/tc
fi
cp -R spicule/extra-samples ${HOME}/tc
echo ">>> Installing vim-tidal..."
if [ ! -d "${HOME}/.vim/vim-tidal" ]; then
git clone https://github.com/tidalcycles/vim-tidal.git
if [ ! -d '${HOME}/.vim' ]; then
mkdir -p ${HOME}/.vim
fi
cp -R vim-tidal ${HOME}/.vim
cd $HOME/.vim/vim-tidal
sudo make install
fi
echo ">>> Bringing down startup..."
if [ ! -d "${HOME}/bin" ]; then
mkdir ${HOME}/bin
fi
cd ${HOME}/bin
wget https://raw.githubusercontent.com/musikinformatik/SuperDirt/develop/superdirt_startup.scd
chmod +x superdirt_startup.scd
exit 0
#### Other ideas, things to use to improve install/config
#### installer thread on GH https://github.com/tidalcycles/Tidal/issues/284
#### ansible setup (from packages thou) https://github.com/cleary/ansible?files=1
#### install on Debian with jack https://matthewtift.com/install-tidal-debian-stretch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment