macOS
brew install libcpuidlocal Homebrew formula metadata
brew
Small C library for x86 CPU detection and feature extraction. Version 0.8.1 via Homebrew; verified from local package data.
install
brew install libcpuidlocal Homebrew formula metadata
sudo apk add libcpuidAlpine Linux edge package indexes · libcpuid · source: dl-cdn.alpinelinux.org
sudo apt install cpuidtoolDebian stable package indexes · cpuidtool · source: deb.debian.org
sudo dnf install libcpuidFedora Rawhide package metadata · libcpuid · source: dl.fedoraproject.org
nix profile install nixpkgs#libcpuidnixpkgs package indexes · pkgs/by-name/li/libcpuid/package.nix · source: api.github.com
sudo pacman -S libcpuidArch Linux sync databases · libcpuid · source: geo.mirror.pkgbuild.com
sudo zypper install libcpuid-developenSUSE Tumbleweed package metadata · libcpuid-devel · source: download.opensuse.org
overview
Small C library for x86 CPU detection and feature extraction
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cpuid_tool | cli | global executable |
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.
https://github.com/anrieff/libcpuid
install metadata
| Package key | brew:libcpuid |
|---|---|
| Version | 0.8.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libcpuid |
| Homepage | https://github.com/anrieff/libcpuid |
| Repository | https://github.com/anrieff/libcpuid |
| Upstream docs | https://anrieff.github.io/libcpuid/group__libcpuid.html |
| License | BSD-2-Clause |
| Source archive | https://github.com/anrieff/libcpuid/archive/refs/tags/v0.8.1.tar.gz |
| Build dependencies | autoconf, automake, libtool |
| Bottle | available (on arm64_linux, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libcpuid |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 cpuidtoollibcpuid-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-devlibcpuid17 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 libcpuid17libcpuid
nix profile install nixpkgs#libcpuidcpuidtool 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 cpuidtoollibcpuid-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-devlibcpuid16 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 libcpuid16libcpuid 0.8.0-r0
C library for x86 CPU detection and feature extraction
https://github.com/anrieff/libcpuid
sudo apk add libcpuidlibcpuid-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-devlibcpuid-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-toollibcpuid 0.8.1-6.fc45
Provides CPU identification for x86 and ARM
https://github.com/anrieff/libcpuid
sudo dnf install libcpuidlibcpuid-devel 0.8.1-6.fc45
Development files for libcpuid
https://github.com/anrieff/libcpuid
sudo dnf install libcpuid-devellibcpuid-static 0.8.1-6.fc45
Static development files for libcpuid
https://github.com/anrieff/libcpuid
sudo dnf install libcpuid-staticpython3-libcpuid 0.8.1-6.fc45
Python bindings for the libcpuid library
https://github.com/anrieff/libcpuid
sudo dnf install python3-libcpuidlibcpuid 0.8.1-1
A small C library for x86 CPU detection and feature extraction
http://libcpuid.sourceforge.net
sudo pacman -S libcpuidlibcpuid-devel 0.8.1-1.1
Development files for libcpuid
https://github.com/anrieff/libcpuid
sudo zypper install libcpuid-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.