Steps to uninstall openoffice linux

Steps to uninstall Open Office in Linux:
1.check the package names:
rpm -qa | grep office

The output will be something like below:

2.Remove all above package by :

rpm -e <package_name> Example:
rpm -e

3.If above command shows dependency error, use below command and remove one by one.

rpm -e -nodeps <package_name> Example:
rpm -e -nodeps

4.Check after removing all packages are gone or not.
rpm -qa | grep office

It should not show any output.

5.Remove the old openoffice folder and start installing new one.
rm -rf <openoffice_foldername>


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.