When installing Informix, consider installing to a version specific location, instead of accepting the default.
This will allow you to install multiple versions, and switch between them as needed.
For example, to install and test a new version, while the existing version continues to run.
Use the infx idsinstall
command to automatically install Informix software to a version specific location.