Skip to content

Instantly share code, notes, and snippets.

@andreacioni
Created February 15, 2018 17:27
Show Gist options
  • Save andreacioni/bbfde655dc62d4f6f3e2b6fb82c248b9 to your computer and use it in GitHub Desktop.
Save andreacioni/bbfde655dc62d4f6f3e2b6fb82c248b9 to your computer and use it in GitHub Desktop.
script used to install motion on Raspberry Pi Zero
#!/bin/bash
sudo apt-get update
sudo apt-get install autoconf automake build-essential pkgconf libtool git libzip-dev libjpeg-dev checkinstall
sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev
sudo apt-get install libjpeg-turbo8 libjpeg-turbo8-dev
sudo apt-get install libwebp-dev
git clone https://github.com/Motion-Project/motion.git
cd motion
autoreconf -fiv
./configure --mandir=/usr --sysconfdir=/etc
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment