even package managers will still put stuff in random places like binaries outside my $PATH.. or not even clearly telling me what the binary is named or how to execute what I just installed.
But you can do a proper uninstall. And the package manager can also give you a list of all files a package will install / installed, so you'll find stuff even in random places.