This might seem like a limitation. But you can provide a base system with a toolchain & xorg with known dependencies and a limited set of packages (like a BSD base system). Then for every big and complex app clone that base system and build the app in a chroot/sandbox or container. That way you get the app and dont pollute the base system and uninstalling is just rm -rf
On every distro uninstalling packages never really reverts the system to its previous state, always leaves some junk behind.
On every distro uninstalling packages never really reverts the system to its previous state, always leaves some junk behind.