Skip to content

Instantly share code, notes, and snippets.

@aforren1
Last active October 25, 2017 21:03
Show Gist options
  • Select an option

  • Save aforren1/43d91cb78a3cd3174e65d8634b2e3e73 to your computer and use it in GitHub Desktop.

Select an option

Save aforren1/43d91cb78a3cd3174e65d8634b2e3e73 to your computer and use it in GitHub Desktop.
# Install preemptive kernel
apt install build-essential git linux-image-rt-amd64 -y # check with `uname -r`
# Install miniconda (update later via `conda update conda`
wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/miniconda # accept license, add to path
echo 'export PATH="$HOME/miniconda3/bin:$PATH"' >> ~/.bashrc
# update audio settings
sh -c "echo '@audio - rtprio 95' >> /etc/security/limits.conf"
sh -c "echo '@audio - memlock 512000' >> /etc/security/limits.conf"
sh -c "echo '@audio - nice -19' >> /etc/security/limits.conf"
# install rtirq script (need to think about)
apt install rtirq-init
# install requirements for wxPython (Phoenix)
apt install -y dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev \
libgstreamer-plugins-base1.0-dev libnotify-dev freeglut3 \
freeglut3-dev libsm-dev libgtk2.0-dev libwebkitgtk-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment