I am trying to learn how to use flatpak on mu Pi 3. However when I type flatpak search libreofficeall I get is error: unkknown command 'search'
I've followed the following steps:
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub-flatpakrepo
flatpak update
flatpak search libreoffice