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?
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?