Stop Akonadi server first:
akonadictl stopInstall:
sudo apt install postgresql-12 akonadi-backend-postgresqlChange postgresql-12 with postgresql or whichever exists on your distro.
I’m using latest KDE Neon.
Create a configuration file $HOME/.config/akonadi/akonadiserverrc
The content:
[%General]Driver=QPSQL
[QPSQL]Host=/tmp/akonadi-user.RqiEZ0InitDbPath=/usr/lib/postgresql/12/bin/initdbName=akonadiOptions=ServerPath=/usr/lib/postgresql/12/bin/pg_ctlStartServer=trueChange InitDbPath and ServerPath if you use different PostgreSQL.
Start Akonadi and check its integrity.
akonadictl stopakonadictl fsckSource: https://prkos.hr/KOrganizer-and-Akonadi-Ubuntu-with-Postgres

![[WIP] How to Install OpenVINO GenAI on Ubuntu 25.04 with oneMKL and jemalloc for Agentic Coding](/_astro/robotic-ai.BD43MEGj_2tIEkK.webp)