Skip to content

Removing packages using a pattern or regular expression #8486

Closed
@sryze

Description

It would be nice if it was possible to remove a bunch of packages using a regexp without typing all their names, similar to how apt-get does it. For example, if I install Boost and I want to remove all the Boost libraries there is no way to simply do vcpkg remove boost*, I have to remove every package one by one.

Proposed solution

Make remove accept a regular expression as a package name.

Describe alternatives you've considered

Alternative - delete the files by hand from vcpkg/installed/.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

category:vcpkg-featureThe issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions