Installing Flexi on Ubuntu 22.04 and 24.04 does not appear to be possible at first glance. Depending on the installation method you choose, you will encounter an error message similar to the following:
The Ubuntu 22.04 repositories only include PostgreSQL 14 (or PostgreSQL 16 for 24.04), and Flexi does not currently support these versions. The solution is to add the official PostgreSQL repository, which offers a selection of supported PostgreSQL versions.
Simply visit https://www.postgresql.org/, navigate to the Download section, and select Linux - Ubuntu.
Following the manual installation guide, create the file /etc/apt/sources.list.d/pgdg.list with the required content. You will also need to add the repository key and then update the apt repository cache.
NOTE: If you are running a distribution based on Ubuntu 22.04 (e.g. Mint 21), you will need to update the contents of pgdg.list to:
deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt jammy-pgdg main
Or, for Ubuntu 24.04 (e.g. Mint 22):
deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt noble-pgdg main
The PostgreSQL repositories officially support Ubuntu only, so it is necessary to identify your system as a standard Ubuntu installation (jammy-pgdg or noble-pgdg).
After that, simply install Flexi itself:
Then simply select the installation type and you are done — the Flexi server is ready to use.



