# Install libmemcached with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

C and C++ client library to the memcached server. Version 1.0.18 via Homebrew; verified 2026-06-19.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libmemcached
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libmemcached
```

  Evidence: 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
```

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

- Debian apt (92%):

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

  Evidence: 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
```

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

- Nix (92%):

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

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

- pacman (92%):

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

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

- zypper (92%):

```sh
sudo zypper install libmemcached
```

  Evidence: openSUSE Tumbleweed package metadata: libmemcached from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:libmemcached
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libmemcached>
- **Version:** 1.0.18
- **Source summary:** C and C++ client library to the memcached server
- **Homepage:** <https://libmemcached.org/>
- **Repository:** <https://code.launchpad.net/libmemcached>
- **Upstream docs:** <http://docs.libmemcached.org/>
- **License:** BSD-3-Clause
- **Source archive:** <https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz>
- **Last updated:** 2026-06-19T12:32:37-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 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 (alias)
- memcat (alias)
- memcp (alias)
- memdump (alias)
- memerror (alias)
- memexist (alias)
- memflush (alias)
- memparse (alias)
- memping (alias)
- memrm (alias)
- memslap (alias)
- memstat (alias)
- memtouch (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.18
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://libmemcached.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [gearman](https://www.automicvault.com/pkg/brew/gearman/) - Popular package that depends on this formula.
- [pgpool-ii](https://www.automicvault.com/pkg/brew/pgpool-ii/) - Popular package that depends on this formula.
- [libcouchbase](https://www.automicvault.com/pkg/brew/libcouchbase/) - Shares av.db curated category or tags: c, cli, clients, data.
- [gqlplus](https://www.automicvault.com/pkg/brew/gqlplus/) - Shares av.db curated category or tags: cli, clients, data.
- [leveldb](https://www.automicvault.com/pkg/brew/leveldb/) - Shares av.db curated category or tags: c-plus-plus, cli, data, library.
- [libgrape-lite](https://www.automicvault.com/pkg/brew/libgrape-lite/) - Shares av.db curated category or tags: c-plus-plus, cli, data, library.
- [liblzf](https://www.automicvault.com/pkg/brew/liblzf/) - Shares av.db curated category or tags: c, cli, data, library.
- [libmatio](https://www.automicvault.com/pkg/brew/libmatio/) - Shares av.db curated category or tags: c, cli, data, library.
- [libmaxminddb](https://www.automicvault.com/pkg/brew/libmaxminddb/) - Shares av.db curated category or tags: c, cli, data, library.
- [pelikan](https://www.automicvault.com/pkg/brew/pelikan/) - Shares av.db curated category or tags: c, cli, data, memcached.
- [xapian](https://www.automicvault.com/pkg/brew/xapian/) - Local metadata places this package in an adjacent workflow. Shared terms: c-plus-plus, cli, data, library, plus.

## Combined YAML source

View the package source record on GitHub. [combined/libmemcached.yml](https://github.com/automic-vault/db/blob/main/combined/libmemcached.yml)


## Sources

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