Installing DataStax Community 2.1 on RHEL-based systems 

Install using Yum repositories on RHEL, CentOS, and Oracle Linux.

DataStax no longer provides the DataStax Community version of Apache Cassandra™ or the DataStax Distribution of Apache Cassandra. See DataStax support for Apache Cassandra.
To download and install the latest version of open-source Cassandra, see

Use these steps to install Cassandra using Yum repositories on RHEL, CentOS, and Oracle Linux.

Note: To install on SUSE, use the Cassandra binary tarball distribution.

For a complete list of supported platforms, see Apache Cassandra.


  • Yum Package Management application installed.
  • Root or sudo access to the install machine.
  • Latest version of Oracle Java Platform, Standard Edition 8 (JDK) is recommended) or OpenJDK 7.
  • Python 2.7.

The packaged releases create a cassandra user. When starting Cassandra as a service, the service runs as this user. The following utilities are included in a separate package: sstable2json, sstablelevelreset, sstablemetadata, json2sstable, sstablerepairedset, sstablesplit, and token-generator.


In a terminal window:

  1. Check which version of Java is installed by running the following command:
    $ java -version
    It is recommended to use the latest version of Oracle Java 8 on all nodes. (Oracle Java 7 is also supported.)

    See Installing the JDK on RHEL-based systems.

  2. Add the DataStax Community repository to the /etc/yum.repos.d/datastax.repo:
    name = DataStax Repo for Apache Cassandra
    baseurl =
    enabled = 1
    gpgcheck = 0
  3. Install the packages: (For the latest version, check Download DataStax Community Edition.)
    $ sudo yum install dsc21-2.1.x-1 cassandra2.1.x-1
    $ sudo yum install cassandra21-tools-2.1.x-1 ## Installs optional utilities.

    For example, to install DataStax Community 2.1.12:

    $ sudo yum install dsc21-2.1.12-1  cassandra2.1.12-1
    $ sudo yum install cassandra21-tools-2.1.12-1 ## Installs optional utilities.
    The DataStax Community distribution of Cassandra is ready for configuration.

What's next