Last active
March 31, 2019 00:11
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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