Install unoconv by entering the following commands in the terminal:
sudo apt update sudo apt install unoconv
Description:
converter between LibreOffice document formats
This package provides a commandline utility which can convert from any document format that LibreOffice can import to any document format it can export. It uses LibreOffice's UNO bindings for non-interactive conversion of documents. . Supported document formats include Open Document format, MS Word, MS Office Open/MS OOXML, PDF, HTML, XHTML, RTF, DocBook, and more.
Homepage: http://dag.wieers.com/home-made/unoconv/
Version: 0.7-1.1
Section: universe/text