Skip to content

Instantly share code, notes, and snippets.

@piuggi
Last active August 29, 2015 14:05
Show Gist options
  • Save piuggi/3abf34bb0aa086668c67 to your computer and use it in GitHub Desktop.
Save piuggi/3abf34bb0aa086668c67 to your computer and use it in GitHub Desktop.
rPi | node.js, wiringPi, gphoto2 and ffmpeg install
cd ~
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28-linux-arm-pi.tar.gz
tar -xvzf node-v0.10.28-linux-arm-pi.tar.gz
cd ~
touch .bash_profile
nano .bash_profile
#Node Source
/home/pi/node-v0.10.28-linus-arm-pi/bin/
source .bash_profile
which node
cd ~
git clone git://git.drogon.net/wiringPi
cd wiringPi
git pull origin
./build
apt-get install libpopt-dev libltdl-dev libjpeg8-dev libusb-dev libusb-1.0-0-dev libexif-dev libpopt-dev libfuse-dev mono-devel libmono-2.0.1 mono-gmcs monodoc-base libreadline6 libreadline6-dev python-pyrex
cd ~
wget http://sourceforge.net/projects/gphoto/files/libgphoto/2.5.3.1/libgphoto2-2.5.3.1.tar.gz
tar -zxvf libgphoto2-2.5.3.1.tar.gz
cd libgphoto2-2.5.3.1/
./configure --prefix=/usr
make
sudo make install
cd ~
wget http://sourceforge.net/projects/gphoto/files/gphoto/2.5.3/gphoto2-2.5.3.tar.gz
tar -zvxf gphoto2-2.5.3.tar.gz
cd gphoto2-2.5.3/
./configure --prefix=/usr
make
sudo make install
sudo nano /etc/apt/sources.list
deb-src http://www.deb-multimedia.org wheezy main
deb http://www.deb-multimedia.org wheezy main non-free
sudo apt-key update
sudo apt-get update
apt-get install deb-multimedia-keyring
sudo nano /etc/apt/sources.list
#deb http://www.deb-multimedia.org wheezy main non-free
apt-get source ffmpeg-dmo
cd ffmpeg-dmo-{version}
./configure --enable-filter=movie --enable-avfilter --enable-libx264 --enable-gpl --enable-libvpx --enable-libvorbis && make && sudo make install
sudo touch /etc/ffserver.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment