Downgrade Libreoffice to the current Ubuntu version

Upgraded to the latest LibreOffice and had performance problems.
Here are the terminal commands to revert to the current Ubuntu version:
  1. sudo apt-get remove --purge libreoffice*
  2. software-properties-gtk to open Software Sources
    • Click "Other Sources" tab and remove the libreoffice PPA
  3. sudo apt-get update
  4. sudo apt-get clean && sudo apt-get autoremove
  5. sudo apt-get install libreoffice