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'm trying to install opencv libraries. There were some dependencies that apt can't locate:


These libraries are part of CUDA from nvidia. So I installed CUDA and now I have the following additional libs: (libc6,x86-64) => /usr/local/cuda/lib64/ (libc6,x86-64) => /usr/local/cuda/lib64/ (libc6,x86-64) => /usr/local/cuda/lib64/

(and some more)

However, apt doesn't know about these libs and therefore I still can't install opencv.

So my question is: how can I tell apt that these libraries are installed?

share|improve this question
up vote 0 down vote accepted

APT dependencies are not based on files per si, they are based on package names and version.

What you can do is use the "equivs" utility and create a dummy package with the required name/version, for details check:

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.