Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix, zypper 安装 clhep

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clhep

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install clhep

MacPorts ports tree · science/clhep/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install clhep-doc

Debian stable package indexes · clhep-doc · 来源: deb.debian.org

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

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

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

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

概览

软件包摘要

Class Library for High Energy Physics

命令和别名

  • Cast-config
  • Evaluator-config
  • Exceptions-config
  • GenericFunctions-config
  • Geometry-config
  • Matrix-config
  • Random-config
  • RandomObjects-config
  • RefCount-config
  • Units-config
  • Utility-config
  • Vector-config
  • clhep-config

历史

项目历史与用法

CLHEP is CERN's Class Library for High Energy Physics, a C++ collection of foundation and utility classes for high-energy-physics software. Its official project page describes packages for random generators, physics vectors, geometry, linear algebra, units, and related HEP building blocks.

项目历史

The CLHEP project was proposed by Leif Lonnblad at CHEP 92. CERN's project page presents it as a set of independent HEP-specific foundation and utility packages, with inter-package dependencies allowed only under defined conditions.

The project later moved to CERN GitLab and is maintained as a source-buildable CMake project. The official README documents a modern C++ build, package-config scripts, CMake imported targets, and pkg-config files for both the full library and component libraries.

采用历史

CERN's CLHEP page explicitly ties a large fraction of contributions to use in BaBar, the Geant4 Collaboration, and Fermilab's ZOOM project, especially in the Random, Vector, Geometry, and Matrix packages.

The same page notes that CERN LCG formally maintains CLHEP and that HepMC, HepPDT, and StdHep migrated out as standalone external LCG packages, placing CLHEP in the long-running HEP software stack rather than as a one-off library.

使用方式

Users typically consume CLHEP as a compiled C++ dependency, either linking the whole CLHEP library or individual packages such as Vector and Random. The README documents `clhep-config`, package-specific `*-config` scripts, CMake `find_package(CLHEP REQUIRED)`, imported targets, and pkg-config integration.

The Homebrew package exposes the library's config helper executables, which is exactly the sort of package-manager surface used by downstream build systems to discover compiler and linker flags.

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

CLHEP matters to package maintainers because it is old scientific infrastructure with ABI, compiler, CMake, pkg-config, and downstream experiment compatibility concerns. It is less a flashy CLI than a dependency that makes physics software stacks build reproducibly on Unix-like systems.

Its formula also illustrates a common scientific-packaging pattern: a library package ships many small `*-config` helper commands that bridge older build expectations and newer CMake/pkg-config workflows.

时间线

  • 1992: CLHEP is proposed by Leif Lonnblad at CHEP 92.
  • 1996: CLHEP workshops are held at CERN.
  • 2000: A CLHEP workshop is held at Fermilab.
  • 2010: CLHEP 1.9.4.7 and 2.0.4.7 are released.
  • 2014: CLHEP 2.1.4.2 is released.
  • 2015: CLHEP 2.2.0.8 is released.
  • 2018: CLHEP 2.3.4.6 is released.
  • 2025: CLHEP 2.4.7.2 is released.

Related projects

  • Geant4, BaBar, and Fermilab ZOOM are named by the CLHEP project page as major sources of CLHEP contributions.
  • HepMC, HepPDT, and StdHep are related HEP packages that the CLHEP project page says migrated to standalone external LCG packages.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
Cast-configcli全局可执行文件
Evaluator-configcli全局可执行文件
Exceptions-configcli全局可执行文件
GenericFunctions-configcli全局可执行文件
Geometry-configcli全局可执行文件
Matrix-configcli全局可执行文件
Random-configcli全局可执行文件
RandomObjects-configcli全局可执行文件
RefCount-configcli全局可执行文件
Units-configcli全局可执行文件
Utility-configcli全局可执行文件
Vector-configcli全局可执行文件
clhep-configcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://proj-clhep.web.cern.ch/proj-clhep/

安装元数据

软件包元数据

软件包键brew:clhep
版本2.4.7.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/clhep
主页https://proj-clhep.web.cern.ch/proj-clhep/
仓库https://gitlab.cern.ch/CLHEP/CLHEP
上游文档https://proj-clhep.web.cern.ch/proj-clhep
许可证GPL-3.0-only
源码归档https://gitlab.cern.ch/CLHEP/CLHEP/-/archive/CLHEP_2_4_7_2/CLHEP-CLHEP_2_4_7_2.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclhep
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%

clhep-doc 2.1.4.1+dfsg-1.2

Documentation of CLHEP

http://proj-clhep.web.cern.ch/proj-clhep/

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

libclhep-dev 2.1.4.1+dfsg-1.2+b1

CLHEP: A Class Library for High Energy Physics - development

http://proj-clhep.web.cern.ch/proj-clhep/

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

libclhep2.1t64 2.1.4.1+dfsg-1.2+b1

CLHEP: A Class Library for High Energy Physics

http://proj-clhep.web.cern.ch/proj-clhep/

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

clhep

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

clhep-doc 2.1.4.1+dfsg-1.2build1

Documentation of CLHEP

http://proj-clhep.web.cern.ch/proj-clhep/

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

libclhep-dev 2.1.4.1+dfsg-1.2build1

CLHEP: A Class Library for High Energy Physics - development

http://proj-clhep.web.cern.ch/proj-clhep/

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

libclhep2.1t64 2.1.4.1+dfsg-1.2build1

CLHEP: A Class Library for High Energy Physics

http://proj-clhep.web.cern.ch/proj-clhep/

sudo apt install libclhep2.1t64
  • Section: universe/science
  • Architecture: amd64
  • Source Package: clhep
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Clhep
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libclhep2.1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper95%

clhep-Cast-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP Cast library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-Cast-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-Cast-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-Evaluator-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP Evaluator library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-Evaluator-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-Evaluator-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-Exceptions-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP Exceptions library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-Exceptions-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-Exceptions-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-GenericFunctions-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP GenericFunctions library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-GenericFunctions-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-GenericFunctions-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-Geometry-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP Geometry library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-Geometry-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-Geometry-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-Matrix-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP Matrix library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-Matrix-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-Matrix-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-Random-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP Random library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-Random-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-Random-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-RandomObjects-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP RandomObjects library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-RandomObjects-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-RandomObjects-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

clhep-RefCount-devel 2.4.7.2-1.3

Headers and sources for development with CLHEP RefCount library

https://proj-clhep.web.cern.ch/proj-clhep/

sudo zypper install clhep-RefCount-devel
  • License: GPL-3.0-only OR LGPL-3.0-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: clhep
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Clhep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: clhep-RefCount-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