Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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:

https://wiki.ubuntu.com/PackagingGuide/Complete

http://developer.ubuntu.com/packaging/html/

http://developer.ubuntu.com/resources/tools/packaging/

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

 
discard

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.