• SupportSolved
  • [eopkg] How to find out to which package belongs specific file?

Hello,

Could you guide me with subject.

br
Serhiy.

Hi,
Welcome to Solus community forums!

You may try with:
eopkg info -F <file or package name>
or with:
eopkg search-file <file name>

Cheers,
PY

eopkg sf filename but it only works if the package is installed.

Example:
eopkg sf libfreetype.so.6

Searching for libfreetype.so.6
Package freetype2-32bit has file /usr/lib32/libfreetype.so.6
Package freetype2-32bit has file /usr/lib32/libfreetype.so.6.18.1
Package freetype2 has file /usr/lib64/libfreetype.so.6
Package freetype2 has file /usr/lib64/libfreetype.so.6.18.1