This question already has an answer here:
How can I get access to the source code of standard shared libraries?
It depends on the concrete library you're looking for.
As an example, let's take a look at
First, let's find out what package the file belongs to:
So now we know that the package name is
Note: no need to use