Last active
January 11, 2017 08:06
-
-
Save minhoolee/8d46c74d87edb1877f33 to your computer and use it in GitHub Desktop.
install-mjpg-streamer.sh
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/sh | |
# Install script for mjpg-streamer | |
# Written by Min Hoo Lee | |
# March 27, 2016 (3/27/16) | |
# Install dependencies | |
sudo apt-get install imagemagick libv4l-dev libjpeg-dev | |
git clone https://github.com/codewithpassion/mjpg-streamer.git | |
cd mjpg-streamer/mjpg-streamer | |
make USE_LIBV4L2=true clean all | |
sudo make DESTDIR=/usr/local install | |
# Add the installation location to the linker path | |
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/local/lib" >> ~/.bashrc | |
echo "\n\nDone installing mjpg-streamer\n\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment