Skip to content

Instantly share code, notes, and snippets.

@kylerbrown
Last active August 29, 2015 14:08
Show Gist options
  • Save kylerbrown/2cc92c1595c3545932f3 to your computer and use it in GitHub Desktop.
Save kylerbrown/2cc92c1595c3545932f3 to your computer and use it in GitHub Desktop.
#!/bin/bash
# File originally created by Dan Meliza, modified by Kyler Brown
apt-get -y install make scons g++ gcc git libjack-dev jackd1 \
libboost-dev libboost-program-options-dev libboost-date-time-dev libboost-system-dev libboost-filesystem-dev \
libsndfile1-dev libsamplerate0-dev libhdf5-dev hdf5-tools \
libx11-dev x11proto-core-dev libxft-dev libzmq-dev uuid-dev
# set some configuration for better RT performance
cat > /etc/sysctl.d/40-realtime-settings.conf <<EOF
vm.swappiness = 10
fs.inotify.max_user_watches = 524288
dev.hpet.max-user-freq = 3072
EOF
cat > /etc/udev/rules.d/40-timer-permissions.rules <<EOF
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"
EOF
SRC_DIR=$HOME/src
mkdir -p $SRC_DIR
# arf
cd $SRC_DIR
git clone git://github.com/dmeliza/arf.git && cd arf && sudo make install
# jill
cd $SRC_DIR
git clone https://github.com/margoliashlab/jill.git && cd jill && scons -Q debug=0 && sudo scons debug=0 install
# yass
cd $SRC_DIR
git clone git://github.com/dmeliza/yass.git && cd yass && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment