A perl script called relink allows users to maintain control over the installation — and uninstallation — of applications and libraries, even to the point of overriding a distribution’s package management system. While not without its faults, relink is a step in the right direction.
Link: linuxandmain.com