linux..install.sh 930 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/env bash
  2. set -e
  3. PACKAGES="cmake libsndfile-dev fftw3-dev libvorbis-dev libogg-dev libmp3lame-dev
  4. libasound2-dev libjack-jackd2-dev libsdl-dev libsamplerate0-dev libstk0-dev stk
  5. libfluidsynth-dev portaudio19-dev g++-multilib libfltk1.3-dev
  6. libgig-dev libsoundio-dev qt59base qt59translations qt59tools"
  7. # swh build dependencies
  8. SWH_PACKAGES="perl libxml2-utils libxml-perl liblist-moreutils-perl"
  9. # VST dependencies
  10. VST_PACKAGES="wine-dev qt59x11extras qtbase5-private-dev libxcb-util0-dev libxcb-keysyms1-dev"
  11. # Help with unmet dependencies
  12. PACKAGES="$PACKAGES $SWH_PACKAGES $VST_PACKAGES libjack-jackd2-0"
  13. # shellcheck disable=SC2086
  14. sudo apt-get install -y $PACKAGES
  15. # kxstudio repo offers Carla; avoid package conflicts (wine, etc) by running last
  16. sudo add-apt-repository -y ppa:kxstudio-debian/libs
  17. sudo add-apt-repository -y ppa:kxstudio-debian/apps
  18. sudo apt-get update
  19. sudo apt-get install -y carla-git