At least in Fedora installed software tracks the repository it comes from. You can then select on this for commands like uninstall. In any case, most of this stuff (or something compatible) part of the base distribution.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds