Which Ubuntu release are you using?

The easiest way to check Ubuntu release is to use lsb_release command.

Installing LibreOffice in Ubuntu

Install LibreOffice in Ubuntu.