Created
February 15, 2018 17:27
-
-
Save andreacioni/bbfde655dc62d4f6f3e2b6fb82c248b9 to your computer and use it in GitHub Desktop.
script used to install motion on Raspberry Pi Zero
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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