The inverses of indecomposable Cartan matrices are computed for finite-dimensional Lie algebras and Lie superalgebras over fields of any characteristic, and for hyperbolic (almost affine) complex Lie (super)algebras. We discovered three yet inexplicable new phenomena, of which (a) and (b) concern hyperbolic (almost affine) complex Lie (super)algebras, except the 5 Lie superalgebras whose Cartan matrices have 0 on the main diagonal: (a) several of the inverses of Cartan matrices have all their elements negative (not just non-positive, as they should be according to an a priori characterization due to Zhang Hechun); (b) the 0s only occur on the main diagonals of the inverses; (c) the determinants of inequivalent Cartan matrices of the simple Lie (super)algebra of any dimension may differ (in any characteristic).We interpret most of the results of Wei Yangjiang and Zou Yi Ming, Inverses of Cartan matrices of Lie algebras and Lie superalgebras, Linear Alg. Appl., 521 (2017) 283-298 as inverses of the Gram matrices of non-degenerate invariant symmetric bilinear forms on the (super)algebras considered, not of Cartan matrices, and give more adequate references. In particular, the inverses of Cartan matrices of simple Lie algebras were already published, starting with Dynkin's paper in 1952, see also Table 2 in Springer's book by Onishchik and Vinberg (1990).2010 Mathematics Subject Classification. Primary 17B50, 17B99; Secondary 15A09; 70F25. Key words and phrases. Cartan matrix, difference equation, Lie algebra, Lie superalgebra. We thank A. Lebedev for great help, S. Konstein for proofs of formulas (33) and (35)-(40), R. Stekolshchik andÈ.B.Vinberg for helpful comments.