Removing ONLYOFFICE DocSpace installed using DEB/RPM packages from your computer

Introduction

If you run ONLYOFFICE DocSpace from DEB/RPM packages, there might be some cases when you need to completely remove it from your computer.

This guide will show you how to remove ONLYOFFICE DocSpace Linux version from your machine.

Removing ONLYOFFICE DocSpace

Use the following command on Ubuntu:

sudo apt purge 'docspace*'

Use the following command on CentOS:

sudo yum remove 'docspace*'

This command will remove the binaries and the configuration files of the DocSpace packages, but it will leave the dependencies installed with them.

Confirm the deletion by selecting Yes.

If you get some warnings "directory not empty so not removed", remove the directories manually:

sudo rm -rvf /var/log/onlyoffice/docspace
The names of all the installed packages which contain 'docspace' present in the system can be found using the following command on Ubuntu:
sudo apt list --installed | grep docspace

Use the following command on CentOS:

sudo yum list installed | grep docspace

ONLYOFFICE Docs will remain, you can use this instruction to delete it.

All installed prerequisites and components will remain and can be uninstalled separately.

Host ONLYOFFICE DocSpace on your own server or use it in the cloud

Article with the tag:
Browse all tags