Installing part is easy, I agree but trying to uninstall either one of them leaves a mess behind. Configuration and other misc files are left behind so if your program does not start because the conf is corrupted, uninstalling and installing doesn't work. It seems though that Ubuntu never lets the program know that it is being uninstalled leaving behind a string of custom generated files.
I did on some occasions but it too din't do the job. It couldn't recognize the custom generated log and config files. I was stuck tracing those files and removing them manually. If I remember correctly this was for postfix/dovecot installations.