bash: scripts to check what's installed locally