Search:

Search all manuals
Search this manual
Manual
Couchbase Client Library C (libcouchbase) 1.0
Community Wiki and Resources
Wiki: C and C++ Client Library
Download Client Library (source)
C and C++ Client Library
SDK Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
1 Getting Started
Chapter Sections
Chapters

1.5. Installing on Ubuntu

Installation on Ubuntu Linux consists of adding a set of .deb packages. After downloading the packages, simply add the packages with the dpkg command. There is a dependent order between the packages, as libcouchbase depends on libvbucket.

Also, note that as is common with Ubuntu packaging, the library is broken up into three separate pieces. One is the library itself. The next is the -dev package which contains header files needed during development. The final package contains the debug symbols, which may be useful when using a debugger during development.

The most basic of installs is just a matter of installing libvbucket1 and libcouchbase with its header files and debug symbols.

shell> sudo dpkg -i libvbucket1-1_amd64.deb
shell> sudo dpkg -i libcouchbase1-1_amd64.deb
shell> sudo dpkg -i libcouchbase-dev-1_amd64.deb
shell> sudo dpkg -i libcouchbase1-dbg-1_amd64.deb