mamu
mamu

Reputation: 12414

Installing cassandra in ubuntu?

I have already installed cassandra in ubuntu using with wiki

Problem is I have no control over which version to install and upgrade to in feature.

I am want to be able to install specific version not just latest, because i have a machine running 0.6.2 now i want a another node and i want to install 0.6.2.

How can i install debian package for specific version instead of latest one?

Upvotes: 3

Views: 2303

Answers (2)

Mostafa Jamareh
Mostafa Jamareh

Reputation: 1439

for installing a specific version of cassandra you can do something like this:

in this case i want to install cassandra 1.2.8

sudo apt-get clean

sudo apt-get update

sudo apt-get install cassandra=1.2.8

Upvotes: 3

txwikinger
txwikinger

Reputation: 3034

The best way to do something like this, that I have found so far is pinning. This is a little inconvenient at the moment because you have to manually create the pinning preferences (and change them if necessary). Also, the pinning will not work with aptitude in case you use this.

Another example is the pinning I have done for php here. However, you have to make sure that whatever version you want to have is available in the repos/ppas that you have configured in your sources.list (sources.list.d).

Upvotes: 1

Related Questions