We split the remainder term in the asymptotic formula for the mean of the Euler phi function into two summands called the arithmetic and the analytic part respectively. We show that the arithmetic part can be studied with a mild use of the complex analytic tools, whereas the study of the analytic part heavily depends on the properties of the Riemann zeta function and on the distribution of its non-trivial zeros in particular.