First and foremost, you should install LibreOffice, e.g.:

sudo apt install libreoffice

Confirm that you can invoke it from the command line:

libreoffice --version