Downloading Cassandra

Java drivers for Cassandra are also available on Maven Central.

Debian and RedHat package repositories have moved!

Debian’s sources.list and RedHat’s cassandra.repo files must be updated to point to the new repository URLs (see below).

Installation from Debian packages

curl -o /etc/apt/keyrings/apache-cassandra.asc https://downloads.apache.org/cassandra/KEYS
echo "deb [signed-by=/etc/apt/keyrings/apache-cassandra.asc] https://debian.cassandra.apache.org 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
sudo apt-get update
 sudo apt-get install cassandra

Installation from RPM packages

[cassandra] name=Apache Cassandra baseurl=https://redhat.cassandra.apache.org/41x/ gpgcheck=1 repo_gpgcheck=1 gpgkey=https://downloads.apache.org/cassandra/KEYS

Or for CentOS 7:

[cassandra] name=Apache Cassandra baseurl=https://redhat.cassandra.apache.org/41x/noboolean/ gpgcheck=1 repo_gpgcheck=1 gpgkey=https://downloads.apache.org/cassandra/KEYS
sudo yum install cassandra

Start Cassandra (will not start automatically):

service cassandra start

Systemd based distributions may require to run systemctl daemon-reload once to make Cassandra available as a systemd service. This should happen automatically by running the command above.

Make Cassandra start automatically after reboot:

 chkconfig cassandra on

Please note that official RPMs for Apache Cassandra only have been available recently and are not tested thoroughly on all platforms yet. We appreciate your feedback and support and ask you to post details on any issues in the corresponding Jira ticket.

Source

Development is done in the Apache Git repository. To check out a copy:

git clone https://gitbox.apache.org/repos/asf/cassandra.git