Automic VaultAutomic Vault

brew

Install libcouchbase with Homebrew, apk, dnf, Nix

C library for Couchbase. Version 3.3.19 via Homebrew; verified 2026-05-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libcouchbase

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add libcouchbase

Alpine Linux edge package indexes · libcouchbase · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install libcouchbase

Fedora Rawhide package metadata · libcouchbase · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libcouchbase

nixpkgs package indexes · pkgs/by-name/li/libcouchbase/package.nix · source: api.github.com

overview

Package summary

C library for Couchbase

Commands and aliases

  • cbc-admin
  • cbc-bucket-create
  • cbc-bucket-delete
  • cbc-bucket-flush
  • cbc-bucket-list
  • cbc-cat
  • cbc-collection-id
  • cbc-collection-manifest
  • cbc-connstr
  • cbc-create
  • cbc-decr
  • cbc-gen
  • cbc-hash
  • cbc-incr
  • cbc-keygen
  • cbc-lock
  • cbc-mcversion
  • cbc-n1ql
  • cbc-n1qlback
  • cbc-observe
  • cbc-observe-seqno
  • cbc-pillowfight
  • cbc-ping
  • cbc-proxy
  • cbc-rm
  • cbc-role-list
  • cbc-stats
  • cbc-strerror
  • cbc-subdoc
  • cbc-touch
  • cbc-unlock
  • cbc-user-delete

history

Project history and usage

libcouchbase is the Couchbase C SDK and low-level C client library. It speaks Couchbase cluster protocols, provides synchronous and asynchronous APIs, and ships the `cbc` command family for administration, diagnostics, data access, and benchmarking.

Project history

The Couchbase repository describes libcouchbase as the C client library for Couchbase, responsible for connecting to a cluster and executing data operations. Its README also shows the library's long-standing cross-platform shape: Linux, OS X/macOS, and Windows support, with asynchronous integrations for libuv, libev, libevent, select, and Windows IOCP.

Couchbase documentation treats libcouchbase as both the C SDK and as infrastructure for other SDKs. The getting-started guide states that older versions of the Node.js, PHP, and Python SDKs used libcouchbase to communicate with Couchbase Server.

Adoption history

Adoption came from two directions: direct C applications using Couchbase, and language SDKs or extensions that used the C client underneath. Couchbase's package documentation lists apt and yum repositories, Homebrew installation, Windows archives, and source builds, which made the library a normal dependency in both server deployments and developer workstations.

How it is used

Developers link against the C SDK for key-value, query, management, and cluster operations, while operators and package users often meet libcouchbase through the `cbc-*` tools. The official docs point to `cbc` and `cbc-pillowfight` as examples, and Homebrew exposes a large set of `cbc-` utilities.

Why package nerds care

libcouchbase is interesting to package nerds because it is not just a leaf CLI: it is a database client ABI, a tool bundle, and historically a foundation for higher-level Couchbase SDKs. Packaging it correctly means caring about TLS, event-loop backends, server compatibility, and command-line tools in one formula.

Timeline

  • 2014-11-27: Repository contributor list noted as last updated on this date in the README.
  • 2020-04-08: Couchbase C SDK 3.0.1 released as the second release of the 3.0 series.
  • 2020-06-08: Couchbase release notes mention Homebrew behavior changing from the 2.10 series to the 3.0 series.
  • 2020s: Couchbase maintained 3.x release notes and package repositories for Debian, Ubuntu, Enterprise Linux, Amazon Linux, Windows, and source archives.

Related projects

  • Related projects include Couchbase Server, the Couchbase Node.js, Python, and PHP SDKs, libcouchbase's `cbc` tools, libevent, libev, libuv, OpenSSL, and CouchbaseMock for tests.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for libcouchbase. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cbc-admincliglobal executable
cbc-bucket-createcliglobal executable
cbc-bucket-deletecliglobal executable
cbc-bucket-flushcliglobal executable
cbc-bucket-listcliglobal executable
cbc-catcliglobal executable
cbc-collection-idcliglobal executable
cbc-collection-manifestcliglobal executable
cbc-connstrcliglobal executable
cbc-createcliglobal executable
cbc-decrcliglobal executable
cbc-gencliglobal executable
cbc-hashcliglobal executable
cbc-incrcliglobal executable
cbc-keygencliglobal executable
cbc-lockcliglobal executable
cbc-mcversioncliglobal executable
cbc-n1qlcliglobal executable
cbc-n1qlbackcliglobal executable
cbc-observecliglobal executable
cbc-observe-seqnocliglobal executable
cbc-pillowfightcliglobal executable
cbc-pingcliglobal executable
cbc-proxycliglobal executable
cbc-rmcliglobal executable
cbc-role-listcliglobal executable
cbc-statscliglobal executable
cbc-strerrorcliglobal executable
cbc-subdoccliglobal executable
cbc-touchcliglobal executable
cbc-unlockcliglobal executable
cbc-user-deletecliglobal executable
cbc-user-listcliglobal executable
cbc-user-upsertcliglobal executable
cbc-verbositycliglobal executable
cbc-versioncliglobal executable
cbc-viewcliglobal executable
cbc-watchcliglobal executable
cbc-write-configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.3.19
manager updated2026-05-14
local dataok
upstreamnot checked
latest detectednot detected

https://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html

install metadata

Package metadata

Package keybrew:libcouchbase
Version3.3.19
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libcouchbase
Homepagehttps://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html
Repositoryhttps://github.com/couchbase/libcouchbase
Upstream docshttps://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html
LicenseApache-2.0
Source archivehttps://packages.couchbase.com/clients/c/libcouchbase-3.3.19.tar.gz
Last updated2026-05-14T05:35:21Z
Pulseupdated
Dependencieslibev, libevent, libuv, openssl@3
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibcouchbase
Aliases
  • libcouchbase@3
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • cbc
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

libcouchbase

nix profile install nixpkgs#libcouchbase
  • normalized package name match
  • Matched by: Libcouchbase
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libcouchbase/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

libcouchbase 3.3.18-r0

C client library for Couchbase

https://developer.couchbase.com/community

sudo apk add libcouchbase
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcouchbase-dev 3.3.18-r0

C client library for Couchbase (development files)

https://developer.couchbase.com/community

sudo apk add libcouchbase-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcouchbase-doc 3.3.18-r0

C client library for Couchbase (documentation)

https://developer.couchbase.com/community

sudo apk add libcouchbase-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcouchbase-libev 3.3.18-r0

C client library for Couchbase (libev backend)

https://developer.couchbase.com/community

sudo apk add libcouchbase-libev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase-libev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcouchbase-libevent 3.3.18-r0

C client library for Couchbase (libevent backend)

https://developer.couchbase.com/community

sudo apk add libcouchbase-libevent
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase-libevent from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcouchbase-libuv 3.3.18-r0

C client library for Couchbase (libuv backend)

https://developer.couchbase.com/community

sudo apk add libcouchbase-libuv
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase-libuv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcouchbase-utils 3.3.18-r0

C client library for Couchbase (command line utilities)

https://developer.couchbase.com/community

sudo apk add libcouchbase-utils
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcouchbase-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libcouchbase 3.3.18-3.fc44

Client and protocol library for the Couchbase project

https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html

sudo dnf install libcouchbase
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcouchbase
  • 9 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libcouchbase
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcouchbase from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcouchbase-devel 3.3.18-3.fc44

Couchbase client library - Header files

https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html

sudo dnf install libcouchbase-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libcouchbase
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libcouchbase
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcouchbase-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcouchbase-libev 3.3.18-3.fc44

Couchbase client library - libev IO back-end

https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html

sudo dnf install libcouchbase-libev
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcouchbase-libev from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcouchbase-libevent 3.3.18-3.fc44

Couchbase client library - libevent IO back-end

https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html

sudo dnf install libcouchbase-libevent
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcouchbase-libevent from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcouchbase-libuv 3.3.18-3.fc44

Couchbase client library - libuv IO back-end

https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html

sudo dnf install libcouchbase-libuv
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcouchbase-libuv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libcouchbase-tools 3.3.18-3.fc44

Couchbase client tools

https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html

sudo dnf install libcouchbase-tools
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcouchbase
  • 10 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libcouchbase
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libcouchbase-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment