Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, pacman, apt, zypper 安装 libcpuid

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libcpuid

local Homebrew formula metadata

Linux

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

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

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

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

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

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

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install libcpuid-devel

openSUSE Tumbleweed package metadata · libcpuid-devel · 来源: download.opensuse.org

概览

软件包摘要

Small C library for x86 CPU detection and feature extraction

命令和别名

  • cpuid_tool

历史

项目历史与用法

LibCPUID is a C library and tool for identifying x86 CPUs and extracting CPUID-derived feature information. It wraps low-level CPUID and RDTSC access behind a portable API for Windows, Linux, and macOS.

项目历史

The official SourceForge project page describes LibCPUID as a small C library for x86 CPU detection and feature extraction, including vendor, model, brand string, code name, core counts, cache sizes, clock information, instruction-set checks, CPUID, and RDTSC.

The Doxygen introduction records version 0.1.0 on 2008-10-15 as an initial adaptation from wxfractgui sources. Early releases added Intel Core i7 topology fields, Win32 MSR-reading support, improved CPU-clock measurement, AMD Bulldozer support, Ivy Bridge support, and RdRand detection.

采用历史

LibCPUID fits the distribution niche for programs that need CPU model and feature detection without carrying their own CPUID tables. It is packaged by Homebrew, Debian and Ubuntu as `cpuidtool`, Fedora-family distributions, Arch, Alpine, Nix, and openSUSE-derived systems.

使用方式

Developers link against libcpuid to ask whether a processor supports features such as SSE2, 3DNow!, RdRand, or vendor/model-specific capabilities. Users can also run the packaged `cpuid_tool` executable to inspect CPU information from the command line.

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

LibCPUID is a classic system-library package: tiny surface area, architecture-specific knowledge, and a constant need for updates as Intel and AMD ship new models. It is valuable because every downstream project does not need to parse raw CPUID leaves and maintain marketing names itself.

时间线

  • 2008-10-15: 0.1.0 released as an adaptation from wxfractgui sources.
  • 2009-07-06: 0.1.1 added fields for Intel Core i7 topology enumeration.
  • 2009-09-26: 0.1.2 added Win32 MSR-reading support.
  • 2010-04-20: 0.1.3 improved CPU clock measurements.
  • 2011-10-11: 0.2.0 added AMD Bulldozer support and changed `cpu_id_t` size.
  • 2012-05-26: 0.2.1 added Ivy Bridge and RdRand detection.
  • 2015-11-04: 0.2.2 added support for newer processors up to Haswell and Vishera.

Related projects

  • Related projects and interfaces include wxfractgui, the x86 CPUID instruction, RDTSC, MSR access, `cpuid_tool`, and CPU feature dispatch code in compilers and performance-sensitive libraries.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 4 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.8.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.8.1

https://github.com/anrieff/libcpuid

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:libcpuid
版本0.8.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libcpuid
主页https://github.com/anrieff/libcpuid
仓库https://github.com/anrieff/libcpuid
上游文档https://anrieff.github.io/libcpuid/group__libcpuid.html
许可证BSD-2-Clause
源码归档https://github.com/anrieff/libcpuid/archive/refs/tags/v0.8.1.tar.gz
构建依赖autoconf, automake, libtool
Bottle可用 (于 arm64_linux, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

cpuidtool 0.7.1+repack1-0.2

C library for x86/x86_64 CPU detection and feature extraction (tool)

https://github.com/anrieff/libcpuid

sudo apt install cpuidtool
  • Section: misc
  • Architecture: amd64
  • Source Package: libcpuid
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libcpuid
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cpuidtool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcpuid-dev 0.7.1+repack1-0.2

C library for x86/x86_64 CPU detection and feature extraction (headers)

https://github.com/anrieff/libcpuid

sudo apt install libcpuid-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libcpuid
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcpuid
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcpuid-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcpuid17 0.7.1+repack1-0.2

C library for x86/x86_64 CPU detection and feature extraction (shared lib)

https://github.com/anrieff/libcpuid

sudo apt install libcpuid17
  • Section: libs
  • Architecture: amd64
  • Source Package: libcpuid
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcpuid
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcpuid17 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libcpuid

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

cpuidtool 0.6.4+repack1-1

C library for x86/x86_64 CPU detection and feature extraction (tool)

https://github.com/anrieff/libcpuid

sudo apt install cpuidtool
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: libcpuid
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libcpuid
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cpuidtool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcpuid-dev 0.6.4+repack1-1

C library for x86/x86_64 CPU detection and feature extraction (headers)

https://github.com/anrieff/libcpuid

sudo apt install libcpuid-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libcpuid
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcpuid
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcpuid-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcpuid16 0.6.4+repack1-1

C library for x86/x86_64 CPU detection and feature extraction (shared lib)

https://github.com/anrieff/libcpuid

sudo apt install libcpuid16
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libcpuid
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libcpuid
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcpuid16 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libcpuid 0.8.0-r0

C library for x86 CPU detection and feature extraction

https://github.com/anrieff/libcpuid

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

libcpuid-dev 0.8.0-r0

C library for x86 CPU detection and feature extraction (development files)

https://github.com/anrieff/libcpuid

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

libcpuid-tool 0.8.0-r0

C library for x86 CPU detection and feature extraction (CLI tool)

https://github.com/anrieff/libcpuid

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

libcpuid 0.8.1-6.fc45

Provides CPU identification for x86 and ARM

https://github.com/anrieff/libcpuid

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

libcpuid-devel 0.8.1-6.fc45

Development files for libcpuid

https://github.com/anrieff/libcpuid

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

libcpuid-static 0.8.1-6.fc45

Static development files for libcpuid

https://github.com/anrieff/libcpuid

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

python3-libcpuid 0.8.1-6.fc45

Python bindings for the libcpuid library

https://github.com/anrieff/libcpuid

sudo dnf install python3-libcpuid
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcpuid
  • 6 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Libcpuid
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-libcpuid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libcpuid 0.8.1-1

A small C library for x86 CPU detection and feature extraction

http://libcpuid.sourceforge.net

sudo pacman -S libcpuid
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libcpuid
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libcpuid from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libcpuid-devel 0.8.1-1.1

Development files for libcpuid

https://github.com/anrieff/libcpuid

sudo zypper install libcpuid-devel
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libcpuid
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libcpuid
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcpuid-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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