# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.0.18
- **来源摘要:** C and C++ client library to the memcached server
- **主页:** <https://libmemcached.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.18
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
