Removing ONLYOFFICE Docs for Linux from your computer

Introduction

If you run ONLYOFFICE Docs for Linux on your computer, there might be some cases when you need to completely remove it from your computer.

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

WARNINGBy following this user guide, all your DocumentServer data will be deleted, please be careful.

Removing ONLYOFFICE Docs

Use the following command on Ubuntu:

sudo apt purge onlyoffice-documentserver

Use the following command on CentOS:

sudo yum remove onlyoffice-documentserver

This command will remove the binaries and the configuration files of the onlyoffice-documentserver package, but it will leave the dependencies installed with onlyoffice-documentserver.

When executing the command, you will see the following warning: "This operation will remove the database which contain all ONLYOFFICE data. It is recommended to take backup before removing the database." Confirm the deletion by selecting Yes.

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

sudo rm -rvf /etc/onlyoffice /var/www/onlyoffice
All installed prerequisites and components will remain and can be uninstalled separately.

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

Article with the tag:
Browse all tags