CompElecBox

installOBS.sh.txt

Jun 11th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.47 KB | None | 0 0
  1. #!/bin/bash
  2. #File: installobs.sh (sudo chmod +x installobs.sh)
  3. #!!! Please run from /home/pi/Downloads (cd /home/pi/Downloads)
  4.  
  5. sudo apt-get --allow-releaseinfo-change update
  6. sudo DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
  7. sudo apt-get -y install build-essential checkinstall cmake git libmbedtls-dev libasound2-dev libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libjack-jackd2-dev libjansson-dev libluajit-5.1-dev libpulse-dev libqt5x11extras5-dev libspeexdsp-dev libswresample-dev libswscale-dev libudev-dev libv4l-dev libvlc-dev libx11-dev libx11-xcb1 libx11-xcb-dev libxcb-xinput0 libxcb-xinput-dev libxcb-randr0 libxcb-randr0-dev libxcb-xfixes0 libxcb-xfixes0-dev libx264-dev libxcb-shm0-dev libxcb-xinerama0-dev libxcomposite-dev libxinerama-dev pkg-config python3-dev qtbase5-dev libqt5svg5-dev swig
  8. sudo wget http://ftp.uk.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac1_0.1.4-2+b1_armhf.deb
  9. sudo wget http://ftp.uk.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac-dev_0.1.4-2+b1_armhf.deb
  10. sudo dpkg -i libfdk-aac1_0.1.4-2+b1_armhf.deb
  11. sudo dpkg -i libfdk-aac-dev_0.1.4-2+b1_armhf.deb
  12. sudo git clone --recursive https://github.com/obsproject/obs-studio.git
  13. cd obs-studio
  14. sudo mkdir build && cd build
  15. sudo cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
  16. sudo make -j4
  17. sudo make install
  18. obs #only need to run this command from now on
  19.  
  20. exit 0
Add Comment
Please, Sign In to add comment