vcpkg owns

Synopsis

vcpkg owns <file-substr>

Description

The owns command is used to search for installed packages that own a particular file or files that match a substring (<file-substr>).

The command outputs a list of packages that have files matching the given substring. Each entry is in the format:

<package-name>: <file-path>

Examples

To search for installed packages that own a file matching the substring zlib.h.

vcpkg owns zlib.h

-- zlib:x86-windows: x86-windows/include/zlib.h
-- zlib:x64-windows: x64-windows/include/zlib.h
-- bzip2:x64-windows: x64-windows/include/bzlib.h

Options

All vcpkg commands support a set of common options.