  We present cosmological perturbations of kinetic components based on
relativistic Boltzmann equations in the context of generalized gravity
theories. Our general theory considers an arbitrary number of scalar fields
generally coupled with the gravity, an arbitrary number of mutually interacting
hydrodynamic fluids, and components described by the relativistic Boltzmann
equations like massive/massless collisionless particles and the photon with the
accompanying polarizations. We also include direct interactions among fluids
and fields. The background FLRW model includes the general spatial curvature
and the cosmological constant. We consider three different types of
perturbations, and all the scalar-type perturbation equations are arranged in a
gauge-ready form so that one can implement easily the convenient gauge
conditions depending on the situation. In the numerical calculation of the
Boltzmann equations we have implemented four different gauge conditions in a
gauge-ready manner where two of them are new. By comparing solutions solved
separately in different gauge conditions we can naturally check the numerical
accuracy.
