1) Install cassandra cpp-driver from
http://downloads.datastax.com/cpp-driver/ubuntu/
select the ubuntu version properly
For Ubuntu 12.04
sudo wget http://downloads.datastax.com/cpp-driver/ubuntu/12.04/cassandra-cpp-driver_2.0.1-1_amd64.deb
sudo wget http://downloads.datastax.com/cpp-driver/ubuntu/12.04/libuv_1.4.2-1_amd64.deb
For Ubuntu 14.04
sudo wget http://downloads.datastax.com/cpp-driver/ubuntu/14.04/cassandra-cpp-driver_2.0.1-1_amd64.deb
sudo wget http://downloads.datastax.com/cpp-driver/ubuntu/14.04/libuv_1.4.2-1_amd64.deb
sudo dpkg -i libuv_1.4.2-1_amd64.deb
sudo dpkg -i cassandra-cpp-driver_2.0.1-1_amd64.deb
done