2020-04-03 13:23:32 +00:00
---
toc_priority: 47
toc_title: ClickHouse Update
---
2020-03-20 10:10:48 +00:00
# ClickHouse Update {#clickhouse-update}
2019-02-06 12:52:46 +00:00
2020-06-17 17:44:45 +00:00
If ClickHouse was installed from `deb` packages, execute the following commands on the server:
2019-02-06 12:52:46 +00:00
2020-03-20 10:10:48 +00:00
``` bash
2019-09-23 15:31:46 +00:00
$ sudo apt-get update
$ sudo apt-get install clickhouse-client clickhouse-server
$ sudo service clickhouse-server restart
2019-02-06 12:52:46 +00:00
```
2020-06-17 17:44:45 +00:00
If you installed ClickHouse using something other than the recommended `deb` packages, use the appropriate update method.
2019-02-06 12:52:46 +00:00
2019-02-11 14:48:37 +00:00
ClickHouse does not support a distributed update. The operation should be performed consecutively on each separate server. Do not update all the servers on a cluster simultaneously, or the cluster will be unavailable for some time.