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 build something from source, and the configure tells me something like this:

checking for foo... Package foo was not found in the pkg-config search path.

So I have to go and install the development package for foo (or whatever). Normally this is called libfoo-dev, but not always.

Is there some easy way of looking up the name of the dpkg package for a given pkg-config package?

share|improve this question
apt-file might help. There is also Ubuntu packages and using a graphical package manager like Synaptic or Muon. – saiarcot895 Jul 19 '14 at 21:33

Your Answer


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

Browse other questions tagged or ask your own question.