macOS
brew install clheplocal Homebrew formula metadata
sudo port install clhepMacPorts ports tree · science/clhep/Portfile · 来源: api.github.com
安装
brew install clheplocal Homebrew formula metadata
sudo port install clhepMacPorts ports tree · science/clhep/Portfile · 来源: api.github.com
sudo apt install clhep-docDebian stable package indexes · clhep-doc · 来源: deb.debian.org
nix profile install nixpkgs#clhepnixpkgs package indexes · pkgs/by-name/cl/clhep/package.nix · 来源: api.github.com
sudo zypper install clhep-Cast-developenSUSE Tumbleweed package metadata · clhep-Cast-devel · 来源: download.opensuse.org
概览
Class Library for High Energy Physics
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
Cast-config | cli | 全局可执行文件 | |
Evaluator-config | cli | 全局可执行文件 | |
Exceptions-config | cli | 全局可执行文件 | |
GenericFunctions-config | cli | 全局可执行文件 | |
Geometry-config | cli | 全局可执行文件 | |
Matrix-config | cli | 全局可执行文件 | |
Random-config | cli | 全局可执行文件 | |
RandomObjects-config | cli | 全局可执行文件 | |
RefCount-config | cli | 全局可执行文件 | |
Units-config | cli | 全局可执行文件 | |
Utility-config | cli | 全局可执行文件 | |
Vector-config | cli | 全局可执行文件 | |
clhep-config | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clhep |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clhep-doc 2.1.4.1+dfsg-1.2
Documentation of CLHEP
http://proj-clhep.web.cern.ch/proj-clhep/
sudo apt install clhep-doclibclhep-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-devlibclhep2.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.1t64clhep
nix profile install nixpkgs#clhepclhep-doc 2.1.4.1+dfsg-1.2build1
Documentation of CLHEP
http://proj-clhep.web.cern.ch/proj-clhep/
sudo apt install clhep-doclibclhep-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-devlibclhep2.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.1t64clhep-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-develclhep-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-develclhep-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-develclhep-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-develclhep-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-develclhep-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-develclhep-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-develclhep-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-develclhep-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来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.