In order to uninstall packages you need to go to
/Library/Receipts
where there should be a list of installed applications. By invoking
sbom -fls some_app.pkg/Contents/some-path/somefile.bom
you get the list of installed files and their corresponding paths. As such, a command like
sbom -fls some_app.pkg/Contents/some-path/somefile.bom | (cd /; sudo xargs rm)
might be used to delete them accordingly.