The formalism of the linear augmented Slater-type orbital method in the LDA + U approximation is described. All the expressions necessary for the program implementation of this method are derived, and the electronic structure of the ferromagnetic compounds M e B 6 ( Me = La, Gd) is calculated. The results obtained can be used in analyzing experimental data for rare-earth hexaborides.