macOS
brew install libcpuidlocal Homebrew formula metadata
安装
brew install libcpuidlocal Homebrew formula metadata
sudo apk add libcpuidAlpine Linux edge package indexes · libcpuid · 来源: dl-cdn.alpinelinux.org
sudo dnf install libcpuidFedora Rawhide package metadata · libcpuid · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libcpuidnixpkgs package indexes · pkgs/by-name/li/libcpuid/package.nix · 来源: api.github.com
sudo pacman -S libcpuidArch Linux sync databases · libcpuid · 来源: geo.mirror.pkgbuild.com
sudo apt install cpuidtoolDebian stable package indexes · cpuidtool · 来源: deb.debian.org
sudo zypper install libcpuid-developenSUSE Tumbleweed package metadata · libcpuid-devel · 来源: download.opensuse.org
概览
Small C library for x86 CPU detection and feature extraction
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cpuid_tool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/anrieff/libcpuid
安装元数据
| 软件包键 | 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.