For some reasons, this project requires multiple versions of Odoo on a single machine.

This project works on Ubuntu 20 with Python 3 and Odoo 12 above. Other combination of versions will have different configuration and requirement.

There are two major approaches to this setup – Docker or Virtual Environment

Virtual Environment

Install multiple Odoo instances on a single machine

Docker

Source: How to install Odoo with docker and add external modules | From Linux