Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had to compile OpenCV 2.4 on my machine. How to make applications installed from synaptic do not ask to install OpenCV 2.3 libs dependencies (since 2.4 is already installed in the system)?

share|improve this question

The answer is simple (but it is more complicated to follow it):

you have to create a debian package of the code you compiled (OpenCV 2.4) and install that package. This way the package manager knows that the package exists.

Guides on how to create a package are:

There also seems to be a fake version of the above: create a package that pretends to be OpenCV 2.4 and install this package. How to do this is explained here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.