detect GNOME version and install appropriately