Installation

On this page

Dibab installs from a single package, and the steps are in the README: section Installation from the Debian package for Debian and Ubuntu, section Installation on Fedora, openSUSE Leap and Arch for the others. This page does not repeat them: it says what the package needs around it and what a fresh installation prints, so that you can compare it with yours. It is for someone on Debian, Ubuntu, Fedora, openSUSE Leap or Arch.

Before you install

Each package is on the downloads page. It holds the program, the manual page in five languages, the README files and an example configuration. It holds neither the model server, nor a model, nor a configuration; the README section Requirements lists what you provide:

  • a model server, Ollama, running, with at least one model for each role (ocr, tri_rapide, classification);
  • a destination folder for each domain, on an encrypted volume that you open before a run: Dibab checks that it is mounted and never mounts it;
  • for remote machines, an ssh key that opens a session without a password.

Systems the packages were installed on

A package was installed in a container on each of these systems, then queried, run in simulation and removed (and purged on Debian and Ubuntu). The container shows neither the mounting of an encrypted volume nor a run with your own model server and documents.

  • Debian 12, with Python 3.11.2.
  • Debian 13, with Python 3.13.5.
  • Ubuntu 22.04, with Python 3.10.12.
  • Ubuntu 24.04, with Python 3.12.3.
  • Fedora 44, with Python 3.14.10.
  • openSUSE Leap 16.0, with Python 3.13.14.
  • Arch Linux, with Python 3.14.10 on the day of the validation.

The code uses only the Python standard library, from Python 3.10 on, so the Python that each system ships is the one Dibab runs on.

What a fresh installation prints

Before any configuration exists, dibab --diagnose checks the installation and writes nothing. On each of these systems it printed the same five checks that pass, one that is not configured and eight that depend on the configuration, with exit code 0:

OK python : 3.13.5
OK outil_pdftotext : /usr/bin/pdftotext
OK outil_pdftoppm : /usr/bin/pdftoppm
OK outil_findmnt : /usr/bin/findmnt
OK outil_ssh : /usr/bin/ssh
NON_CONFIGURÉ configuration : no configuration found (the --config option: not given; the DIBAB_CONFIG variable: not given; the XDG location: ~/.config/dibab/config.json; the script folder: /usr/lib/dibab/config.json)
NON_VÉRIFIÉ emplacement_etat : depends on the configuration
NON_VÉRIFIÉ ollama : depends on the configuration
NON_VÉRIFIÉ modele_ocr : depends on the configuration
NON_VÉRIFIÉ modele_tri_rapide : depends on the configuration
NON_VÉRIFIÉ modele_classification : depends on the configuration
NON_VÉRIFIÉ modele_tri_decision : depends on the configuration
NON_VÉRIFIÉ destination_personnel : depends on the configuration
NON_VÉRIFIÉ destination_professionnel : depends on the configuration
Diagnostic: 5 OK, 0 warning(s), 0 failure(s), 1 not configured, 8 not checked

The Python version on the first line is the one of Debian 13; yours is the one of your system. Once you have written a configuration, the same command checks the model server, the models and each vault, and the manual’s chapter on diagnosis explains each line.

After the installation

Create the configuration from the example that the package installs (README, same section) and read the manual’s chapters on the configuration and on the first pass, listed on the documentation page.

NextDownloads →