Description: We derive the spectral formula of the Cherenkov radiation in dielectric medium with the index of refraction and magnetic permeability. This formula is valid also for the altermagnetic medium, where the index of diffraction and permeability must be calculated by the adequate methods which are analogical to the methods published by author (2018).