|
|
Example
Suppose you are compiling a program and get an error about a missing library libImath.so To know which package to install to provide this dependency you could:
- $ pac-file libImath.so
- extra/openexr-1.4.0a-2 usr/lib/libImath.so.4
- extra/openexr-1.4.0a-2 usr/lib/libImath.so.4.0.0
- extra/openexr-1.4.0a-2 usr/lib/libImath.so
复制代码
The output indicates that you should install openexr from the extra repo. pac-file searches via grep's extended regex engine, so searches like lib[Ii]math.so or lib*math work as expected.
More... |
|