Official packages for ClickHouse — deb and rpm
repositories, tgz archives, and the ODBC driver.
Everything linked from this page is served from
packages.clickhouse.com, so it also works on networks where
the rest of the internet is blocked.
| Stable | 26.7.3.19 | released 2026-08-06 |
| LTS | 26.3.17.110 | released 2026-08-05 |
Use stable for production. The lts
channel tracks a long-term-support branch; substitute lts for
stable in any of the instructions below to follow it.
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg
curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' \
| sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg
ARCH=$(dpkg --print-architecture)
echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=${ARCH}] https://packages.clickhouse.com/deb stable main" \
| sudo tee /etc/apt/sources.list.d/clickhouse.list
sudo apt-get update
sudo apt-get install -y clickhouse-server clickhouse-client
sudo service clickhouse-server start
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://packages.clickhouse.com/rpm/clickhouse.repo
sudo yum install -y clickhouse-server clickhouse-client
sudo systemctl enable clickhouse-server
sudo systemctl start clickhouse-server
On openSUSE and SLES, add the repository with zypper instead:
sudo zypper addrepo -r https://packages.clickhouse.com/rpm/clickhouse.repo -g
sudo zypper --gpg-auto-import-keys refresh clickhouse-stable
sudo zypper install clickhouse-server clickhouse-client
Use these where deb or rpm packages aren't an
option. Nothing but packages.clickhouse.com is contacted.
VERSION=26.7.3.19
case $(uname -m) in
x86_64) ARCH=amd64 ;;
aarch64) ARCH=arm64 ;;
*) echo "Unsupported architecture $(uname -m)"; exit 1 ;;
esac
for PKG in clickhouse-common-static clickhouse-server clickhouse-client
do
curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$VERSION-$ARCH.tgz"
curl -fO "https://packages.clickhouse.com/tgz/stable/$PKG-$VERSION-$ARCH.tgz.sha512"
sha512sum -c "$PKG-$VERSION-$ARCH.tgz.sha512"
tar -xzf "$PKG-$VERSION-$ARCH.tgz"
done
sudo "clickhouse-common-static-$VERSION/install/doinst.sh"
sudo "clickhouse-server-$VERSION/install/doinst.sh" configure
sudo "clickhouse-client-$VERSION/install/doinst.sh"
sudo /etc/init.d/clickhouse-server start
Add clickhouse-common-static-dbg for debug
symbols and clickhouse-keeper for a standalone Keeper.
| Package | .tgz | .deb | .rpm |
|---|---|---|---|
clickhouse-common-static | amd64 · arm64 | amd64 · arm64 | x86_64 · aarch64 |
clickhouse-common-static-dbg | amd64 · arm64 | amd64 · arm64 | x86_64 · aarch64 |
clickhouse-server | amd64 · arm64 | amd64 · arm64 | x86_64 · aarch64 |
clickhouse-client | amd64 · arm64 | amd64 · arm64 | x86_64 · aarch64 |
clickhouse-keeper | amd64 · arm64 | amd64 · arm64 | x86_64 · aarch64 |
Every .tgz has a .sha512 checksum
file next to it.
The latest ClickHouse ODBC driver for Windows, Linux, and macOS is mirrored here, together with installation instructions and checksums: /odbc/.
These links leave packages.clickhouse.com, so they
may be unreachable from a restricted network.