Installation

Packages

Pre-built packages are available for CentOS 7 and Ubuntu 18.04.

CentOS

To install the dependencies we recommend using EPEL:

sudo yum install -y epel-release
sudo yum -y install libuv openssl zlib

Install the runtime library. Replace <VERSION> with the version+platform string:

sudo yum localinstall -y scylla-cpp-driver-<VERSION>.rpm

When developing against the driver you’ll also want to install the development package and the debug symbols:

sudo yum localinstall -y scylla-cpp-driver-devel-<VERSION>.rpm scylla-cpp-driver-debuginfo-<VERSION>.rpm

Ubuntu

Ubuntu’s apt-get will resolve and install the dependencies by itself. Replace <VERSION> with the appropriate version+platform string:

sudo apt-get update
sudo apt-get install -y ./scylla-cpp-driver_<VERSION>.deb

When developing against the driver you’ll also want to install the development package and the debug symbols:

sudo apt-get install -y ./scylla-cpp-driver-dev_<VERSION>.deb ./scylla-cpp-driver-dbg_<VERSION>.deb

Building

If pre-built packages are not available for your platform or architecture you will need to build the driver from source. Directions for building and installing the Scylla C/C++ Driver can be found here.