Factor out information about distros and versions.

So's I don't have to keep repeating myself.