- Home
- Docs
- Installation and configuration
- Community
- Linux version
- Removing ONLYOFFICE Docs for Linux from your computer
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.
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