Installing DataStax Community 2.1 on any Linux-based platform 

Install on all Linux-based platforms using a binary tarball.

Use these steps to install Cassandra on all Linux-based platforms using a binary tarball.

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 this install for Mac OS X and platforms without package support, or if you do not have or want a root installation.

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


  • Latest version of Oracle Java Platform, Standard Edition 8 (JDK) is recommended) or OpenJDK 7.
  • Python 2.7.
  • If you are using an older RHEL-based Linux distribution, such as CentOS-5, you may see the following error: GLIBCXX_3.4.9 not found. You must replace the Snappy compression/decompression library (snappy-java-1.0.5.jar) with the snappy-java-

The binary tarball runs as a stand-alone process.


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. Download the DataStax Community: (For the latest version, check Download DataStax Community Edition.)
    $ curl -L | tar xz

    For example, to install DataStax Community 2.1.5:

    $ curl -L | tar xz
  3. Go to the install directory:
    $ cd dsc-cassandra-2.1.x
    The DataStax Community distribution of Cassandra is ready for configuration.
  4. Go to the install directory:
    $ cd install_location/apache-cassandra-2.1.x
    Cassandra is ready for configuration.

What's next