Uninstalling on Ubuntu Linux
To uninstal Couchbase Server on Ubuntu or Debian use the dpkg command.
- Shut down Couchbase Server.
- If your machine is a part of an active cluster, rebalance the cluster to take the node out of the configuration.
- Update clients to point to an available node within the Couchbase Server cluster.
To uninstall the software on an Ubuntu Linux system, run the following command:
> sudo dpkg -r couchbase-server
Refer to the Ubuntu documentation for more information about uninstalling packages using dpkg .
You might need to delete the data files associated with your installation. The default installation location is /opt .
If an alternative location for your data files was specified, separately delete each data directory from your system.