Automic VaultAutomic Vault

brew

Install libcpuid with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Small C library for x86 CPU detection and feature extraction. Version 0.8.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libcpuid

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add libcpuid

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

Debian aptverified · 92%
sudo apt install cpuidtool

Debian stable package indexes · cpuidtool · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libcpuid

Fedora Rawhide package metadata · libcpuid · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libcpuid

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

Arch Linux pacmanverified · 92%
sudo pacman -S libcpuid

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

openSUSE zypperverified · 92%
sudo zypper install libcpuid-devel

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

overview

Package summary

Small C library for x86 CPU detection and feature extraction

Commands and aliases

  • cpuid_tool

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 4 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cpuid_toolcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.8.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.8.1

https://github.com/anrieff/libcpuid

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:libcpuid
Version0.8.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libcpuid
Homepagehttps://github.com/anrieff/libcpuid
Repositoryhttps://github.com/anrieff/libcpuid
Upstream docshttps://anrieff.github.io/libcpuid/group__libcpuid.html
LicenseBSD-2-Clause
Source archivehttps://github.com/anrieff/libcpuid/archive/refs/tags/v0.8.1.tar.gz
Build dependenciesautoconf, automake, libtool
Bottleavailable (on arm64_linux, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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