The package of programs, TEBPKG, has been built which is based on BNDPKG, the package of programs for the calculation of electronic energy bands by the LCGO method, and used for the calculation of the total energy of solids. The program language used is FORTRAN Ⅳ The iterative self-consistent method is employed to solve the one-electron Schrodinger equation and obtain the selfconsistent Fourier coefficients of charge density, Coulomb potential and exchange-correlation function. Because TEBPKG includes BNDPKG, it completes the calculations of both the total energy and energy bands. As a test, this package of programs was applied to metallic lithium. The results obtained are in good agreement with experiments.