Article 6R2ZM APT: how to find package that satisfies dependency

APT: how to find package that satisfies dependency

by
EatMyFedora
from LinuxQuestions.org on (#6R2ZM)
I recently had pip fail to install mysqlclient because the following failed:

Code:pkg-config --exists mysqlclientUsing apt search I found a package with the name mysql-client and installed it, but it didn't satisfy the dependency and pip install continued to fail.

A stackoverflow post mentioned the package libmysqlclient-dev, which I installed, and that fixed the problem.

My question is, given a command like Code:pkg-config --exists mysqlclient that fails, how do I find the package that would satisfy it.

What can lead me from mysqlclient to libmysqlclient-dev?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments