1: \begin{abstract}
2: We revisit the geodesic approach to ideal hydrodynamics and
3: present a related geometric framework for Newton's equations on groups of diffeomorphisms
4: and spaces of probability densities. The latter setting is sufficiently general to include
5: equations of compressible and incompressible fluid dynamics, magnetohydrodynamics,
6: shallow water systems and equations of relativistic fluids.
7: We illustrate this with a survey of selected examples, as well as with new results,
8: using the tools of infinite-dimensional information geometry, optimal transport,
9: the Madelung transform, and the formalism of symplectic and Poisson reduction.
10: \end{abstract}