pkg.sopackage field notes

brew / rank 8531

Install clhep with Homebrew

Class Library for High Energy Physics. Version 2.4.7.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clhep

provider-native install command

overview

Package summary

Class Library for High Energy Physics

Commands and aliases

  • 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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
Cast-configexecutableindexed executableDiscovered from the local executable index.
Evaluator-configexecutableindexed executableDiscovered from the local executable index.
Exceptions-configexecutableindexed executableDiscovered from the local executable index.
GenericFunctions-configexecutableindexed executableDiscovered from the local executable index.
Geometry-configexecutableindexed executableDiscovered from the local executable index.
Matrix-configexecutableindexed executableDiscovered from the local executable index.
Random-configexecutableindexed executableDiscovered from the local executable index.
RandomObjects-configexecutableindexed executableDiscovered from the local executable index.
RefCount-configexecutableindexed executableDiscovered from the local executable index.
Units-configexecutableindexed executableDiscovered from the local executable index.
Utility-configexecutableindexed executableDiscovered from the local executable index.
Vector-configexecutableindexed executableDiscovered from the local executable index.
clhep-configexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version2.4.7.2
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:clhep
Version2.4.7.2
Package managerHomebrew
Homepagehttps://proj-clhep.web.cern.ch/proj-clhep/
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation