Installing OpenCV on Ubuntu

From NUI Group Community Wiki

Jump to: navigation, search
Image:Spam.png This page is a duplicate of "Installing OpenCV on Linux". It contains a subset of the same information. Please attempt to merge information. If unnecessary, redirect or delete.

Despite what you may read elsewhere on the net, I've had great success with installing OpenCV using Synaptic or Apt, and I highly recommend investigating that route for any Debian based system.

So, in a nutshell:

apt-get install libcv1 libcvaux1 libcvaux-dev libcv-dev libhighgui1 libhighgui-dev opencv-doc python-opencv

... or less if you choose.

Once you have that installed, the docs and examples should be in:


... and you can run "make" in the example directories to build the example programs.

Good luck!