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.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for