Binary Installation Guide
Install ZeptoDB from prebuilt binaries on GitHub Releases. No build toolchain required.
Supported Platforms
Section titled “Supported Platforms”| Architecture | OS | Minimum Kernel | Notes |
|---|---|---|---|
| x86_64 (amd64) | Linux | 5.10+ | Requires AVX2 (Haswell 2013+) |
| aarch64 (arm64) | Linux | 5.10+ | AWS Graviton 2/3/4 |
Prerequisites
Section titled “Prerequisites”The prebuilt binaries are dynamically linked. Install the required runtime libraries for your distribution.
Ubuntu / Debian
Section titled “Ubuntu / Debian”# Add LLVM 19 repowget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/llvm.ascecho "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-19 main" | \ sudo tee /etc/apt/sources.list.d/llvm.list
# Add Apache Arrow repowget https://packages.apache.org/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release -cs).debsudo apt-get install -y -V ./apache-arrow-apt-source-latest-$(lsb_release -cs).debrm -f apache-arrow-apt-source-latest-$(lsb_release -cs).deb
# Install runtime librariessudo apt-get updatesudo apt-get install -y --no-install-recommends \ llvm-19 \ libnuma1 \ liblz4-1 \ liburing2 \ libssl3 \ libcurl4 \ zlib1g \ libarrow1700 \ libarrow-flight1700 \ libparquet1700Amazon Linux 2023 / Fedora / RHEL 9+
Section titled “Amazon Linux 2023 / Fedora / RHEL 9+”sudo dnf install -y \ llvm19-libs \ numactl-libs \ lz4-libs \ liburing \ openssl-libs \ libcurl \ zlibNote: Arrow/Parquet/Flight RPMs may not be available in default repos. If
libarrowis missing, install from the Apache Arrow repo or build from source.
Verify Prerequisites
Section titled “Verify Prerequisites”After installing, verify all shared libraries are available:
ldd ./zepto_http_server | grep "not found"If the output is empty, all dependencies are satisfied.
Download & Install
Section titled “Download & Install”1. Download
Section titled “1. Download”# Latest release — amd64curl -LO https://github.com/ZeptoDB/ZeptoDB/releases/latest/download/zeptodb-linux-amd64-0.0.1.tar.gz
# Latest release — arm64 (Graviton)curl -LO https://github.com/ZeptoDB/ZeptoDB/releases/latest/download/zeptodb-linux-arm64-0.0.1.tar.gz2. Extract
Section titled “2. Extract”tar xzf zeptodb-linux-amd64-0.0.1.tar.gzcd zeptodb-linux-amd64-0.0.1/3. Included Binaries
Section titled “3. Included Binaries”| Binary | Description |
|---|---|
zepto_http_server | Main database server (HTTP API on port 8123) |
zepto_data_node | Data node for distributed clusters |
zepto_flight_server | Arrow Flight gRPC server |
zepto-cli | Interactive SQL REPL |
4. Run
Section titled “4. Run”# Start the server./zepto_http_server --port 8123
# In another terminal — verifycurl http://localhost:8123/ping# → OK
# Interactive SQL./zepto-cli --host localhost --port 8123Optional: Install to System Path
Section titled “Optional: Install to System Path”sudo install -m 755 zepto_http_server zepto_data_node \ zepto_flight_server zepto-cli /usr/local/bin/Optional: systemd Service
Section titled “Optional: systemd Service”Create /etc/systemd/system/zeptodb.service:
[Unit]Description=ZeptoDB Time-Series DatabaseAfter=network.target
[Service]Type=simpleUser=zeptodbExecStart=/usr/local/bin/zepto_http_server --port 8123Restart=on-failureRestartSec=5LimitNOFILE=65536LimitMEMLOCK=infinity
[Install]WantedBy=multi-user.targetsudo useradd -r -s /sbin/nologin zeptodbsudo systemctl daemon-reloadsudo systemctl enable --now zeptodbsudo systemctl status zeptodbTroubleshooting
Section titled “Troubleshooting”Missing shared libraries
Section titled “Missing shared libraries”./zepto_http_server: error while loading shared libraries: libLLVM-19.so: cannot open shared object fileInstall the LLVM 19 runtime package for your distribution (see Prerequisites).
Permission denied
Section titled “Permission denied”chmod +x zepto_http_server zepto_data_node zepto_flight_server zepto-cliPort already in use
Section titled “Port already in use”# Check what's using port 8123ss -tlnp | grep 8123
# Use a different port./zepto_http_server --port 8124Next Steps
Section titled “Next Steps”- Quick Start — insert data and run queries
- SQL Reference — full SQL syntax
- Production Deployment — tuning, TLS, clustering
- Bare-metal Tuning — CPU pinning, NUMA, hugepages