Open a terminal and paste this commands.

Latest version of Cassandra until this day is 3.9. Check the datastax page to see which is the latest version or you can go to this link and see the latest release_X.Y version. In this case i can see a release_3.9.conf file, so latest version is 3.9.

echo "deb 3.9 main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list

$ curl -L | sudo apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2905 100 2905 0 0 2845 0 0:00:01 0:00:01 --:--:-- 2848

sudo apt-get update
sudo apt-get install datastax-ddc

$ nodetool status
Datacenter: datacenter1
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 164,94 KiB 256 100,0% 8c807c09-38ed-4374-9055-9513b8ffc9fb rack1

$ cqlsh
Connected to Test Cluster at
[cqlsh 5.0.1 | Cassandra 3.7 | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s