Actually looking back at this the CentOS/Redhat binaries are from the EPEL repo. These are ports of selected packages of the rawhide distribution that are current when after the Redhat version is stable, but are not updated after that. The maxima version EPEL 6 is the 5.38.1 and the package from EPEL 7 is 5.41.0. EPEL 8 does not seem to have maxima yet. The 5.23.1 version was from EPEL 5. One could look at Ubuntu/LTS, but I do not think usually supported as long as Redhat.