# 使用 Homebrew, apk, dnf, Nix 安装 libcouchbase

查看 libcouchbase 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:libcouchbase
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libcouchbase
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libcouchbase
```

  证据: Alpine Linux edge package indexes: libcouchbase from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libcouchbase
```

  证据: Fedora Rawhide package metadata: libcouchbase from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libcouchbase
```

  证据: nixpkgs package indexes: pkgs/by-name/li/libcouchbase/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:libcouchbase
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libcouchbase>
- **版本:** 3.3.19
- **来源摘要:** C library for Couchbase
- **主页:** <https://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html>
- **仓库:** <https://github.com/couchbase/libcouchbase>
- **上游文档:** <https://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html>
- **许可证:** Apache-2.0
- **源码归档:** <https://packages.couchbase.com/clients/c/libcouchbase-3.3.19.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cbc-admin (cli)
- cbc-bucket-create (cli)
- cbc-bucket-delete (cli)
- cbc-bucket-flush (cli)
- cbc-bucket-list (cli)
- cbc-cat (cli)
- cbc-collection-id (cli)
- cbc-collection-manifest (cli)
- cbc-connstr (cli)
- cbc-create (cli)
- cbc-decr (cli)
- cbc-gen (cli)
- cbc-hash (cli)
- cbc-incr (cli)
- cbc-keygen (cli)
- cbc-lock (cli)
- cbc-mcversion (cli)
- cbc-n1ql (cli)
- cbc-n1qlback (cli)
- cbc-observe (cli)
- cbc-observe-seqno (cli)
- cbc-pillowfight (cli)
- cbc-ping (cli)
- cbc-proxy (cli)
- cbc-rm (cli)
- cbc-role-list (cli)
- cbc-stats (cli)
- cbc-strerror (cli)
- cbc-subdoc (cli)
- cbc-touch (cli)
- cbc-unlock (cli)
- cbc-user-delete (cli)
- cbc-user-list (cli)
- cbc-user-upsert (cli)
- cbc-verbosity (cli)
- cbc-version (cli)
- cbc-view (cli)
- cbc-watch (cli)
- cbc-write-config (cli)
- 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 (别名)
- cbc-user-list (别名)
- cbc-user-upsert (别名)
- cbc-verbosity (别名)
- cbc-version (别名)
- cbc-view (别名)
- cbc-watch (别名)
- cbc-write-config (别名)

## 依赖

- libev
- libevent
- libuv
- openssl@3

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.3.19
- 本地数据: OK
- 上游仓库: https://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

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.

### 项目历史

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 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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <https://docs.couchbase.com/c-sdk/current/hello-world/start-using-sdk.html>
- <https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html>
- <https://formulae.brew.sh/formula/libcouchbase>
- <https://github.com/couchbase/libcouchbase>


## 安全说明

没有找到 libcouchbase 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libcouchbase
- **Aliases:** libcouchbase@3
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** cbc
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - libcouchbase: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libcouchbase/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libcouchbase - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase | https://developer.couchbase.com/community
- apk - libcouchbase-dev - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase (development files) | https://developer.couchbase.com/community
- apk - libcouchbase-doc - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase (documentation) | https://developer.couchbase.com/community
- apk - libcouchbase-libev - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase-libev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase (libev backend) | https://developer.couchbase.com/community
- apk - libcouchbase-libevent - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase-libevent from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase (libevent backend) | https://developer.couchbase.com/community
- apk - libcouchbase-libuv - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase-libuv from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase (libuv backend) | https://developer.couchbase.com/community
- apk - libcouchbase-utils - 3.3.18-r0: normalized package name match | Alpine Linux edge package indexes: libcouchbase-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C client library for Couchbase (command line utilities) | https://developer.couchbase.com/community
- dnf - libcouchbase - 3.3.18-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcouchbase from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Client and protocol library for the Couchbase project | https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html
- dnf - libcouchbase-devel - 3.3.18-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcouchbase-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Couchbase client library - Header files | https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html
- dnf - libcouchbase-libev - 3.3.18-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcouchbase-libev from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Couchbase client library - libev IO back-end | https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html
- dnf - libcouchbase-libevent - 3.3.18-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcouchbase-libevent from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Couchbase client library - libevent IO back-end | https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html
- dnf - libcouchbase-libuv - 3.3.18-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcouchbase-libuv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Couchbase client library - libuv IO back-end | https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html
- dnf - libcouchbase-tools - 3.3.18-6.fc45: normalized package name match | Fedora Rawhide package metadata: libcouchbase-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Couchbase client tools | https://docs.couchbase.com/c-sdk/current/project-docs/sdk-release-notes.html


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [libevent](https://pkg.so/zh-hans/brew/libevent/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [libmaxminddb](https://pkg.so/zh-hans/brew/libmaxminddb/) - Shares pkgdb curated category or tags: c, cli, data, databases.
- [neo4j](https://pkg.so/zh-hans/brew/neo4j/) - Shares pkgdb curated category or tags: cli, data, databases, nosql.
- [libmemcached](https://pkg.so/zh-hans/brew/libmemcached/) - Shares pkgdb curated category or tags: c, cli, clients, data.
- [mdbtools](https://pkg.so/zh-hans/brew/mdbtools/) - Shares pkgdb curated category or tags: cli, data, databases.
- [rocksdb](https://pkg.so/zh-hans/brew/rocksdb/) - Shares pkgdb curated category or tags: cli, data, databases.
- [leveldb](https://pkg.so/zh-hans/brew/leveldb/) - Shares pkgdb curated category or tags: cli, data, databases.
- [dolphie](https://pkg.so/zh-hans/brew/dolphie/) - Shares pkgdb curated category or tags: cli, data, databases.
- [pgweb](https://pkg.so/zh-hans/brew/pgweb/) - Shares pkgdb curated category or tags: cli, data, databases.
- [ccm](https://pkg.so/zh-hans/brew/ccm/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, create, data, database, databases.
- [keydb](https://pkg.so/zh-hans/brew/keydb/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, databases, openssl.
- [barman](https://pkg.so/zh-hans/brew/barman/) - Local package facts share a topical domain. Shared terms: cli, data, delete, list, openssl.

## Combined YAML source

View the package source record on GitHub. [combined/libcouchbase.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libcouchbase.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
