OpenCV on Ubuntu Linux

These notes describe the process of installing OpenCV on Ubuntu Linux 5.10 "Breezy Badger". Whilst it looks as if OpenCV is available as a package in the Synaptic Package Manager tool, it does not open video files if installed in this way so installation from source code is necessary. The FFmpeg library is required to get things working with video, but the release (0.4.9-prel) version of that doesn't work with gcc 4. The CVS version of FFmpeg doesn't work with the release version of OpenCV. So you have to install both from source using the version of OpenCV from the CVS repository.

For instructions for Ubuntu 8.04 Hardy, see here (should also work for 8.10 but we found Kubuntu 8.10 a bit unstable)

For instructions for Ubuntu 7.04 Feisty, see here

For instructions for Ubuntu 6.06 Drapper, see here