Convert a .ods file to a .csv file from the command line with libreoffice
Run:
$ libreoffice --convert-to csv file.ods
You don’t need to install the whole LibreOffice suite to do so, only:
$ sudo apt install libreoffice-calc-nogui
which is much much smaller than the whole suite.
See also:
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki csv libreoffice-nogui offline spreadsheet stuff in the terminal