macOS
brew install clheplocal Homebrew formula metadata
sudo port install clhepMacPorts ports tree · science/clhep/Portfile · source: api.github.com
brew
Class Library for High Energy Physics. Version 2.4.7.2 via Homebrew; verified from local package data.
install
brew install clheplocal Homebrew formula metadata
sudo port install clhepMacPorts ports tree · science/clhep/Portfile · source: api.github.com
sudo apt install clhep-docDebian stable package indexes · clhep-doc · source: deb.debian.org
nix profile install nixpkgs#clhepnixpkgs package indexes · pkgs/by-name/cl/clhep/package.nix · source: api.github.com
sudo zypper install clhep-Cast-developenSUSE Tumbleweed package metadata · clhep-Cast-devel · source: download.opensuse.org
overview
Class Library for High Energy Physics
history
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.
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 |
|---|---|---|---|
Cast-config | cli | global executable | |
Evaluator-config | cli | global executable | |
Exceptions-config | cli | global executable | |
GenericFunctions-config | cli | global executable | |
Geometry-config | cli | global executable | |
Matrix-config | cli | global executable | |
Random-config | cli | global executable | |
RandomObjects-config | cli | global executable | |
RefCount-config | cli | global executable | |
Units-config | cli | global executable | |
Utility-config | cli | global executable | |
Vector-config | cli | global executable | |
clhep-config | 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://proj-clhep.web.cern.ch/proj-clhep/
install metadata
| Package key | brew:clhep |
|---|---|
| Version | 2.4.7.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/clhep |
| Homepage | https://proj-clhep.web.cern.ch/proj-clhep/ |
| Repository | https://gitlab.cern.ch/CLHEP/CLHEP |
| Upstream docs | https://proj-clhep.web.cern.ch/proj-clhep |
| License | GPL-3.0-only |
| Source archive | https://gitlab.cern.ch/CLHEP/CLHEP/-/archive/CLHEP_2_4_7_2/CLHEP-CLHEP_2_4_7_2.tar.gz |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-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.