1 | initial version |
On CentOS there is an 'alternatives' command available that allows you to install alternatives, as in 'newer version'. For the man-page see https://linux.die.net/man/8/alternatives .
The page https://www.redhat.com/sysadmin/alternatives-command gives an example how to use it.
But getting it installed can still be hard when you run into a dependency-hell.