sudo apt-get update sudo apt-get upgrade sudo apt-get -y install build-essential cmake cmake-curses-gui pkg-config libpng12-0 libpng12-dev libpng++-dev libpng3 libpnglite-dev zlib1g-dbg zlib1g zlib1g-dev pngtools libtiff4-dev libtiff4 libtiffxx0c2 libtiff-tools libeigen3-dev sudo apt-get -y install libjpeg8 libjpeg8-dev libjpeg8-dbg libjpeg-progs ffmpeg libavcodec-dev libavcodec53 libavformat53 libavformat-dev libgstreamer0.10-0-dbg libgstreamer0.10-0 libgstreamer0.10-dev libxine1-ffmpeg libxine-dev libxine1-bin libunicap2 libunicap2-dev swig libv4l-0 libv4l-dev python-numpy libpython2.6 python-dev python2.6-dev libgtk2.0-dev wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.8/opencv-2.4.8.zip/download opencv-2.4.8.zip unzip opencv-2.4.8.zip cd opencv-2.4.8 mkdir release cd release ccmake ../ make sudo make install
Referencias:
- http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation
- http://mitchtech.net/raspberry-pi-opencv/
- http://miloq.blogspot.co.uk/2012/12/install-opencv-ubuntu-linux.html
- http://robertcastle.com/2014/02/installing-opencv-on-a-raspberry-pi/
- http://desarrollophpsenior.wordpress.com/2012/09/19/instalar-opencv-2-4-2-en-ubuntu-12-04-lts/