Installation Of OpenCV 2.1 on Ubuntu

Gijs Molenaar has build OpenCV 2.1 packages for Ubuntu Lucid and Karmic. You don't need to compile OpenCV anymore if you use these packages, except for when you want something special like enable IPP. Jaunty packages are also available but not updated anymore.

To install OpenCV 2.1 on Ubuntu run these commands:

  $ sudo add-apt-repository ppa:gijzelaar/opencv2
  $ sudo apt-get update
  $ sudo apt-get install opencv

To install the development files run:

  $ sudo apt-get install libopencv-dev

If you want to install the Python module:

  $ sudo apt-get install python-opencv

If you want to install the documentation:

  $ sudo apt-get install opencv-doc

Main differences to the normal Ubuntu OpenCV package:

Notes:

(On Ubuntu 10.04 I had to compile ffmpeg and openCV manually to enable video capturing. Ralph Glass)

OpenCVWiki: Ubuntu_Packages (last edited 2010-08-07 01:44:36 by RalphGlass)