Skip to main content

Installing Flexi on Debian Buster (10), Bullseye (11), or Bookworm (12)

How to Set Up Flexi on Debian 10 Buster with AdoptOpenJDK

Written by Vývojář ABRA Flexi

Valid up to version 2024.7.0. From version 2024.7.0 onwards, Java is included in the installation.

Neither Debian Buster nor Bullseye is compatible with Flexi out of the box, as the official repositories only include Java 11 (or newer). We are working on adding support for these distributions; in the meantime, it will be necessary to install Java 8.

Note: This guide is intended for users who have at least a basic knowledge of working with the terminal!

Java

Unfortunately, Debian Buster and Bullseye only include Java 11 in their repositories, even though Java 8 is an LTS release with support until 2026 (OpenJDK). You will need to add the official Temurin repository by following the instructions here: https://adoptium.net/installation/linux/

sudo apt install -y wget apt-transport-https && \
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo tee /etc/apt/keyrings/adoptium.asc && \
echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list && \
sudo apt update

PostgreSQL (required for Debian 12+ only)

From version 12 onwards, the official APT repository includes PostgreSQL 15, which is not currently supported. You will need to add the official PostgreSQL repository by following the instructions here: https://www.postgresql.org/download/linux/debian/

sudo apt install -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh

Current procedure for importing the certificate

Bash
sudo apt install curl ca-certificates && \
sudo install -d /usr/share/postgresql-common/pgdg && \
sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc && \
sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \
sudo apt update

Flexi itself

Simply download the package from https://www.flexibee.eu/podpora/stazeni-flexibee/ and install it:

wget https://www.flexibee.eu/download/latest/deb/ -O flexi.deb
sudo apt install ./flexi.deb
Did this answer your question?