Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 memcached

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install memcached

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install memcached

MacPorts ports tree · sysutils/memcached/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add memcached

Alpine Linux edge package indexes · memcached · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install memcached

Debian stable package indexes · memcached · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install memcached

Fedora Rawhide package metadata · memcached · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#memcached

nixpkgs package indexes · pkgs/by-name/me/memcached/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S memcached

Arch Linux sync databases · memcached · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install memcached

openSUSE Tumbleweed package metadata · memcached · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/memcached

Scoop official bucket manifest trees · bucket/memcached.json · 来源: api.github.com

概览

软件包摘要

High performance, distributed memory object caching system

命令和别名

  • memcached

历史

项目历史与用法

Memcached is a high-performance distributed in-memory key-value cache for small arbitrary data, originally built to reduce database load for dynamic web applications. Its deliberately simple server design leaves distribution and key placement to clients.

项目历史

The official about page traces Memcached to Brad Fitzpatrick at LiveJournal in 2003. The project grew from a web scaling tool into a long-lived C daemon, with libevent-based networking and a protocol simple enough to be implemented by clients in many languages.

The project documentation frames the architecture as a virtual pool of memory: clients hash keys to servers, servers store opaque values, and servers do not coordinate with each other. This simplicity made Memcached easy to deploy horizontally and kept the daemon focused on fast memory storage, eviction, and protocol handling.

The current upstream development repository is the central GitHub repository under the memcached organization. The development wiki describes the codebase as started in 2003, stable, long-term, and performance-sensitive, with central-branch quality gates, buildbots, regression tests, and careful performance testing.

采用历史

Memcached became a standard package across Unix-like systems and language ecosystems because its protocol and operating model are small. The official site notes APIs for most popular languages, the development wiki says portability matters because Memcached ships as a standard package on many operating systems, and the batch input lists packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Nix, MacPorts, Scoop, and zypper.

The official homepage also names Netflix as a supporter and links users to documentation, mailing lists, GitHub issues, and release notes, showing a mature infrastructure around a widely deployed daemon rather than a single-library project.

使用方式

Applications store the results of database calls, API calls, or page rendering under application-defined keys and retrieve those values before doing expensive work again. The official examples show direct protocol interaction over telnet on port 11211 with commands such as `get` and `stats`.

Operationally, administrators tune memory size, server count, and client hashing behavior rather than treating Memcached as a replicated database. The docs emphasize that servers are independent, data can expire or be evicted, and forgetting is a feature of the cache model.

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

Memcached is a package-manager classic: tiny enough to install everywhere, important enough to appear in nearly every server distribution, and old enough that downstreams care about init systems, portability, protocol compatibility, and security fixes. It is also a reference point for cache clients, monitoring tools, and experiments such as queues or persistent stores that reuse the memcached protocol.

时间线

  • 2003: Brad Fitzpatrick originally develops Memcached for LiveJournal.
  • 2019: Development wiki describes the 2003 codebase as a stable long-term project with many users.
  • 2024: Documentation site publishes the modern Memcached overview and design-philosophy pages.
  • 2026-05-18: Official homepage lists v1.6.42 as the latest stable release.

Related projects

  • Related projects include memcache-top for terminal stats monitoring, MemcacheQ for a queue service over the memcache protocol, language-specific Memcached clients, libevent as a core dependency, and mc-crusher for performance testing.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
memcachedcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.6.45
管理器更新时间2026-07-10
本地数据OK
上游not checked
检测到的最新版本未检测到

https://memcached.org/

安装元数据

软件包元数据

软件包键brew:memcached
版本1.6.45
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/memcached
主页https://memcached.org/
仓库https://github.com/memcached/memcached
上游文档https://docs.memcached.org/
许可证BSD-3-Clause
源码归档https://www.memcached.org/files/memcached-1.6.45.tar.gz
最后更新2026-07-10T07:13:01Z
Pulseupdated
依赖libevent, openssl@3
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namememcached
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

memcached 1.6.38-1

High-performance in-memory object caching system

https://memcached.org/

sudo apt install memcached
  • Section: web
  • Architecture: amd64
  • 7 依赖
  • 6 可选依赖
  • normalized package name match
  • 匹配方式:Memcached
Debian stable package indexes · deb.debian.org · Debian stable package indexes: memcached from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

memcached

nix profile install nixpkgs#memcached
  • normalized package name match
  • 匹配方式:Memcached
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/me/memcached/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

memcached 1.6.24-1build3

High-performance in-memory object caching system

https://memcached.org/

sudo apt install memcached
  • Section: web
  • Architecture: amd64
  • 7 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Memcached
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: memcached from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

memcached 1.6.42-r0

Distributed memory object caching system

https://memcached.org/

sudo apk add memcached
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: memcached
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Memcached
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memcached from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

memcached-dev 1.6.42-r0

Distributed memory object caching system (development files)

https://memcached.org/

sudo apk add memcached-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: memcached
  • 1 依赖
  • normalized package name match
  • 匹配方式:Memcached
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memcached-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

memcached-doc 1.6.42-r0

Distributed memory object caching system (documentation)

https://memcached.org/

sudo apk add memcached-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: memcached
  • normalized package name match
  • 匹配方式:Memcached
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memcached-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

memcached-openrc 1.6.42-r0

Distributed memory object caching system (OpenRC init scripts)

https://memcached.org/

sudo apk add memcached-openrc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: memcached
  • normalized package name match
  • 匹配方式:Memcached
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: memcached-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

memcached 1.6.41-1.fc45

High Performance, Distributed Memory Object Cache

https://www.memcached.org/

sudo dnf install memcached
  • License: BSD-3-clause AND Zlib AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: memcached
  • 11 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Memcached
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: memcached from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

memcached-devel 1.6.41-1.fc45

Files needed for development using memcached protocol

https://www.memcached.org/

sudo dnf install memcached-devel
  • License: BSD-3-clause AND Zlib AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: memcached
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Memcached
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: memcached-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

memcached-selinux 1.6.41-1.fc45

Selinux policy module

https://www.memcached.org/

sudo dnf install memcached-selinux
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: memcached
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Memcached
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: memcached-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

memcached 1.6.42-1

Distributed memory object caching system

https://memcached.org/

sudo pacman -S memcached
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Memcached
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: memcached from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

memcached 1.6.42-2.1

A high-performance, distributed memory object caching system

https://memcached.org/

sudo zypper install memcached
  • License: BSD-3-Clause
  • Category: Productivity/Networking/Other
  • Architecture: x86_64
  • Source Package: memcached
  • 12 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Memcached
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: memcached from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

memcached-devel 1.6.42-2.1

Files needed for development using memcached protocol

https://memcached.org/

sudo zypper install memcached-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: memcached
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Memcached
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: memcached-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

memcached

sudo port install memcached
  • normalized package name match
  • 匹配方式:Memcached
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/memcached/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/memcached

scoop install main/memcached
  • normalized package name match
  • 匹配方式:Memcached
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/memcached.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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