How do I install older versions?

I need to build against 2.10 but apt-get install couchbase-dev has installed is 3.1.3-1.

libcouchbase-dev | 3.1.3-1 | stretch/stretch/main amd64 Packages

Hi Kwhat,

You can find the latest 2.10 release at
And links to tarballs for other distros at Couchbase C SDK Release Notes and Download Archives | Couchbase Docs