Installing DataStax Community on RHEL-based systems

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

Attention: OpsCenter is not supported or installed with DataStax Community 3.0.

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.


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 or OpenJDK 8 on all nodes.
  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:
    $ sudo yum install dsc30
    $ sudo yum install cassandra30-tools ## Installs optional utilities.
    Note: The optional utilities are sstablelevelreset, sstablemetadata, sstableofflinerelevel, sstablerepairedset, sstablesplit, token-generator. Each utility provides usage/help information; type help after entering the command.

    The DataStax Community distribution of Cassandra is ready for configuration.

What's next