Automic VaultAutomic Vault

brew

Install clhep with Homebrew, apt, MacPorts, Nix, zypper

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

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install clhep

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

Linux

Debian aptverified · 92%
sudo apt install clhep-doc

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

Nixverified · 92%
nix profile install nixpkgs#clhep

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

openSUSE zypperverified · 92%
sudo zypper install clhep-Cast-devel

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

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

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-configcliglobal executable
Evaluator-configcliglobal executable
Exceptions-configcliglobal executable
GenericFunctions-configcliglobal executable
Geometry-configcliglobal executable
Matrix-configcliglobal executable
Random-configcliglobal executable
RandomObjects-configcliglobal executable
RefCount-configcliglobal executable
Units-configcliglobal executable
Utility-configcliglobal executable
Vector-configcliglobal executable
clhep-configcliglobal executable

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-07-08
manager version2.4.7.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:clhep
Version2.4.7.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clhep
Homepagehttps://proj-clhep.web.cern.ch/proj-clhep/
Repositoryhttps://gitlab.cern.ch/CLHEP/CLHEP
Upstream docshttps://proj-clhep.web.cern.ch/proj-clhep
LicenseGPL-3.0-only
Source archivehttps://gitlab.cern.ch/CLHEP/CLHEP/-/archive/CLHEP_2_4_7_2/CLHEP-CLHEP_2_4_7_2.tar.gz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

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