evert because it is still in development.
$ sudo snap install openoffice --edge
Password:
error: The publisher of snap "openoffice" has indicated that they do not consider this revision to
be of production quality and that it is only meant for development or testing at this point.
As a consequence this snap will not refresh automatically and may perform arbitrary system
changes outside of the security sandbox snaps are generally confined to, which may put your
system at risk.
If you understand and want to proceed repeat the command including --devmode; if instead you
want to install the snap forcing it into strict confinement repeat the command including
--jailmode.
If you want to try the script of @Justin, then you should download it first.
Use this link to download it:
https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.7/binaries/en-US/Apache_OpenOffice_4.1.7_Linux_x86-64_install-deb_en-US.tar.gz/download
I recommend you to use wps-office or onlyoffice, if you don't like libreoffice.