One possible approach is to install unoconv (if not already installed) and
unoconv file.odt
Please see man unoconv for details
unoconvis a command line utility that can convert any file format that LibreOffice can import, to any file format that LibreOffice is capable of exporting.unoconvuses the LibreOffice’s UNO bindings for non-interactive conversion....
In some platforms it is also necessary to install libreoffice-headless \thanks{Aaron}