# 使用 Homebrew, apk, MacPorts, Nix, zypper, apt, dnf, pacman 安装 libmemcached

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

## 安装

```sh
sudo av install brew:libmemcached
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libmemcached
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libmemcached
```

  证据: MacPorts ports tree: devel/libmemcached/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libmemcached
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libmemcached
```

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

- zypper (92%):

```sh
sudo zypper install libmemcached
```

  证据: openSUSE Tumbleweed package metadata: libmemcached from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install libhashkit-dev
```

  证据: Debian stable package indexes: libhashkit-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libmemcached-awesome-tools
```

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

- pacman (92%):

```sh
sudo pacman -S libmemcached-awesome
```

  证据: Arch Linux sync databases: libmemcached-awesome from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:libmemcached
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libmemcached>
- **版本:** 1.0.18
- **来源摘要:** C and C++ client library to the memcached server
- **主页:** <https://libmemcached.org/>
- **上游文档:** <https://libmemcached.org/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- memcapable (cli)
- memcat (cli)
- memcp (cli)
- memdump (cli)
- memerror (cli)
- memexist (cli)
- memflush (cli)
- memparse (cli)
- memping (cli)
- memrm (cli)
- memslap (cli)
- memstat (cli)
- memtouch (cli)
- memcapable (别名)
- memcat (别名)
- memcp (别名)
- memdump (别名)
- memerror (别名)
- memexist (别名)
- memflush (别名)
- memparse (别名)
- memping (别名)
- memrm (别名)
- memslap (别名)
- memstat (别名)
- memtouch (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.18
- 本地数据: OK
- 上游仓库: https://libmemcached.org/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

libMemcached is a C and C++ client library and tool suite for the memcached server. It gives C-family applications and shell users a full-featured client for the memcached protocol, including utilities such as memcat, memcp, memstat, memslap, and memcapable.

### 项目历史

The libMemcached project says it was created by Brian Aker and designed from the start for high-performance memcached use, with attention to network and memory behavior and many tunable client options.

The project was historically hosted in Bazaar on Launchpad, where the libmemcached code page lists the development focus branch and many active branches. The package later developed an ecosystem split: the original libmemcached.org/Launchpad project remained the reference named by this package, while libmemcached-awesome appeared as a maintained resurrection of Brian Aker's original work.

### 采用历史

The official project page says libMemcached was adopted by web properties including Yahoo, Twitter, Baidu, and Mixi.jp, and also used outside the web in custom caching services for industries such as oil exploration and medical research.

Since the memcapable tool appeared in 2009, the project has been used as a memcached protocol capability checker and certification reference. Distribution packaging reflects the split maintenance story: some systems package libmemcached, while others package libmemcached-awesome or related libhashkit development packages.

### 使用方式

Developers link libMemcached into C or C++ services that talk to memcached. Operators use the included command-line tools for cache inspection, copying, deletion, flushing, statistics, load testing, and protocol conformance checks.

The package belongs next to memcached itself: memcached is the in-memory key-value server, while libMemcached is one client library and command suite for applications and scripts that need to speak to that server.

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

libMemcached matters to package people because it is both a library and a pile of sharp little admin tools. The tools expose real memcached protocol behavior, while the library underpins older C/C++ software that predates newer language-specific clients.

It is also a packaging history lesson: when an upstream becomes quiet, downstream distributions and forks such as libmemcached-awesome keep ABI expectations, build systems, and security fixes alive.

### 时间线

- 2009: memcapable is introduced and becomes the project's protocol capability checker.
- 2011: Launchpad branch history shows active 1.0-era development, including binary protocol and operational fixes.
- 2021: Launchpad branch activity records Brian Aker commits around the 1.0 and 1.2 series.
- 2023: libmemcached-awesome 1.1.4 is released as a maintained resurrection of the original work.

### Related projects

- memcached is the server this client library targets.
- libhashkit is a related hashing library that appears in downstream package relationships.
- libmemcached-awesome is the active fork/resurrection used by several distributions.

### 来源

- <https://awesomized.github.io/libmemcached/>
- <https://code.launchpad.net/libmemcached>
- <https://formulae.brew.sh/formula/libmemcached>
- <https://github.com/awesomized/libmemcached>
- <https://libmemcached.org/About.html>
- <https://memcached.org/>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libmemcached
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libhashkit-dev - 1.1.4-1.1+b2: normalized package name match | Debian stable package indexes: libhashkit-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libmemcached hashing functions and algorithms (development files) | https://awesomized.github.io/libmemcached/
- Debian apt - libhashkit2t64 - 1.1.4-1.1+b2: normalized package name match | Debian stable package indexes: libhashkit2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libmemcached hashing functions and algorithms | https://awesomized.github.io/libmemcached/
- Debian apt - libmemcached-dev - 1.1.4-1.1+b2: normalized package name match | Debian stable package indexes: libmemcached-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C and C++ client library to the memcached server (development files) | https://awesomized.github.io/libmemcached/
- Debian apt - libmemcached-tools - 1.1.4-1.1+b2: normalized package name match | Debian stable package indexes: libmemcached-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Commandline tools for talking to memcached via libmemcached | https://awesomized.github.io/libmemcached/
- Debian apt - libmemcached11t64 - 1.1.4-1.1+b2: normalized package name match | Debian stable package indexes: libmemcached11t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C and C++ client library to the memcached server | https://awesomized.github.io/libmemcached/
- Debian apt - libmemcachedutil2t64 - 1.1.4-1.1+b2: normalized package name match | Debian stable package indexes: libmemcachedutil2t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library implementing connection pooling for libmemcached | https://awesomized.github.io/libmemcached/
- Nix - libmemcached: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libmemcached/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libhashkit-dev - 1.1.4-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libhashkit-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libmemcached hashing functions and algorithms (development files) | https://awesomized.github.io/libmemcached/
- Ubuntu apt - libhashkit2t64 - 1.1.4-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libhashkit2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libmemcached hashing functions and algorithms | https://awesomized.github.io/libmemcached/
- Ubuntu apt - libmemcached-dev - 1.1.4-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmemcached-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | C and C++ client library to the memcached server (development files) | https://awesomized.github.io/libmemcached/
- Ubuntu apt - libmemcached-tools - 1.1.4-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmemcached-tools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Commandline tools for talking to memcached via libmemcached | https://awesomized.github.io/libmemcached/
- Ubuntu apt - libmemcached11t64 - 1.1.4-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmemcached11t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | C and C++ client library to the memcached server | https://awesomized.github.io/libmemcached/
- Ubuntu apt - libmemcachedutil2t64 - 1.1.4-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmemcachedutil2t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library implementing connection pooling for libmemcached | https://awesomized.github.io/libmemcached/
- apk - libmemcached - 1.1.4-r1: normalized package name match | Alpine Linux edge package indexes: libmemcached from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Client library and command line tools for memcached server (resurrected) | https://github.com/awesomized/libmemcached
- apk - libmemcached-dev - 1.1.4-r1: normalized package name match | Alpine Linux edge package indexes: libmemcached-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Client library and command line tools for memcached server (resurrected) (development files) | https://github.com/awesomized/libmemcached
- apk - libmemcached-libs - 1.1.4-r1: normalized package name match | Alpine Linux edge package indexes: libmemcached-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Client library and command line tools for memcached server (resurrected) (libraries) | https://github.com/awesomized/libmemcached


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/zh-hans/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [gearman](https://pkg.so/zh-hans/brew/gearman/) - Popular package that depends on this formula.
- [pgpool-ii](https://pkg.so/zh-hans/brew/pgpool-ii/) - Popular package that depends on this formula.
- [libcouchbase](https://pkg.so/zh-hans/brew/libcouchbase/) - Shares pkgdb curated category or tags: c, cli, clients, data.
- [xerces-c](https://pkg.so/zh-hans/brew/xerces-c/) - Shares pkgdb curated category or tags: c-plus-plus, cli, data, library.
- [libmatio](https://pkg.so/zh-hans/brew/libmatio/) - Shares pkgdb curated category or tags: c, cli, data, library.
- [libmaxminddb](https://pkg.so/zh-hans/brew/libmaxminddb/) - Shares pkgdb curated category or tags: c, cli, data, library.
- [xapian](https://pkg.so/zh-hans/brew/xapian/) - Shares pkgdb curated category or tags: c-plus-plus, cli, data, library.
- [leveldb](https://pkg.so/zh-hans/brew/leveldb/) - Shares pkgdb curated category or tags: c-plus-plus, cli, data, library.
- [liblzf](https://pkg.so/zh-hans/brew/liblzf/) - Shares pkgdb curated category or tags: c, cli, data, library.
- [serd](https://pkg.so/zh-hans/brew/serd/) - Shares pkgdb curated category or tags: c, cli, data, library.
- [pelikan](https://pkg.so/zh-hans/brew/pelikan/) - Local metadata places this package in an adjacent workflow. Shared terms: c, cache, cli, data, memcached.

## Combined YAML source

View the package source record on GitHub. [combined/libmemcached.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libmemcached.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
