1. Uninstall libreoffice
1. Open the ubuntu desktop, right click to open the terminal
Method 1 Completely uninstall
sudo apt-get remove libreoffice-common
Enter the administrator password according to the prompt, and then enter Y
this according to the prompt, and wait for the uninstallation to complete.
Under normal circumstances, after the above commands are executed, Libreffice's tables, drawings, texts, slides, etc. will all be uninstalled, and the relevant shortcuts will also disappear.
Method 2 Partial uninstallation
If you only want to uninstall some features, you can use the partial uninstall command
First uninstall libreoffice forms.
sudo apt remove libreoffice-calc
3. Then we uninstall libreoffice drawing.
sudo apt remove libreoffice-draw
4. Then uninstall the slideshow tool.
sudo apt remove libreoffice-impress
5. Then uninstall the word document tool.
sudo apt remove libreoffice-writer
6. Finally, we uninstalled all other related libreoffice.
sudo apt remove libreoffice*
7. Clear the libreoffice configuration file.
sudo apt purge libreoffice* sudo apt autoremove
2. Install WPS
1. Enter the official website: WPS Office 2019 for Linux-Support multi-version download_WPS official website
Download For X64 version
Execute the command directly to install
sudo dpkg -i wps-office_11.1.0.11698_amd64.deb