- Download cmake https://cmake.org/download/
$ ./configure
$ make
$ make install
- Download opencv http://opencv.org/downloads.html
$ mkdir release
$ cd release
$ cmake -DBUILD_opencv_videoio=OFF -DBUILD_SHARED_LIBS=OFF ..
$ make
$ make install
- Add to Environment
$ vi ~/.profile
export PYTHONPATH=/usr/local/lib/python2.7/site-packages/