Projects
Arch Linux LibreOffice

As a normal user, but also as a software developer, I use LibreOffice, in client as well as in server mode.

In order to install LibreOffice, type:

pacman -S libreoffice

This command illustrates one nice Pacman functionality, because it will propose you to select 2 LibreOffice variants: still or fresh. I choosed still.

It also illustrates another nice Pacman/Arch philosophy: simplicity. Indeed, LibreOffice is installed as a single package. The last time I installed Ubuntu (before they invented Ubuntu Pro, being the reason why I switched to Arch), LibreOffice was spread into 30 packages.

Consequently, the Python-UNO sub-package, required to make the connection between Python and LibreOffice in server mode, is included in the unique LibreOffice installed package.

In order to bind it to Python, add this line in /root/.bashrc and /root/.bash_profile:

export PYTHONPATH=/usr/lib/python3.13/site-packages

(before Python 3.13, the following lines had to be written down instead)

export PYTHONPATH=/usr/lib/libreoffice/program
export URE_BOOTSTRAP="file:///usr/lib/libreoffice/program/fundamentalrc"