Skip to main content

ABRA Flexi Installation Guide for Ubuntu 24.04 (Server / Local Installation)

Local/Server Installation of Flexi on Ubuntu 22.04 (Jammy Jellyfish), Ubuntu 24.04 (Noble Numbat) and Derived Distributions (Mint, Pop!_OS, ..)

Written by Vývojář ABRA Flexi

Installing Flexi on Ubuntu 22.04 and 24.04 may not appear to be possible at first glance. Depending on the installation method you choose, you will encounter an error message similar to the one below:

The Ubuntu 22.04 repositories only include PostgreSQL 14 (or PostgreSQL 16 for Ubuntu 24.04), and neither of these versions is currently supported by Flexi. The solution is to add the official PostgreSQL repository, which provides 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 refresh the apt package 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 indicate that you are running a standard Ubuntu installation (jammy-pgdg or noble-pgdg).

After that, all you need to do is install Flexi itself:

Next, simply select the installation type and you are done — the Flexi server is ready to use.

Did this answer your question?