-
You can use the command
neofetch
to learn about the release:
-
To uninstall OpenOffice execute
sudo apt purge openoffice* && sudo apt autoremove
-
To install LibreOffice again execute
sudo apt install libreoffice
Addendum:
In case your release is not 24.04 LTS, it’s highly recommended to install this long term support version.