- Home
- Docs
- Installation
- Community
- Linux version
- Removing a Linux installation of ONLYOFFICE Docs
Removing a Linux installation of ONLYOFFICE Docs
Introduction
If you run ONLYOFFICE Docs for Linux on your computer, there may be 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
Run the following script to ensure all documents are saved before disconnecting users:
documentserver-prepare4shutdown.sh
Executing the script may take a long time (up to 5 minutes).
Use the following command on Ubuntu:
sudo apt purge onlyoffice-documentserver
Use the following command on CentOS:
sudo yum remove onlyoffice-documentserver
These commands will remove the binaries and the configuration files of the onlyoffice-documentserver package, but will leave the dependencies installed with onlyoffice-documentserver.
If you receive warnings stating "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.
Article with the tag:
Browse all tags