once installed you want to check your “group” (album/tags) url base settings > groups; if you want to use other then “galleries” you can change it save it and that should fix the 404 error.
If not, after making the settings adjustments refresh your permalink structure by clicking save on WordPress settings > permalinks