# Install otf2 with Homebrew, dnf, Nix, apt

Open Trace Format 2 file handling library. Version 3.2 via Homebrew; verified 2026-07-11. Also installable with debian: sudo apt install libopen-trace-format2-10t64.

## Install

```sh
sudo av install brew:otf2
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install otf2
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install otf2
```

  Evidence: Fedora Rawhide package metadata: otf2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#otf2
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ot/otf2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install libopen-trace-format2-10t64
```

  Evidence: Debian stable package indexes: libopen-trace-format2-10t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:otf2
- **Package manager:** Homebrew
- **Version:** 3.2
- **Source summary:** Open Trace Format 2 file handling library
- **Homepage:** <https://www.vi-hps.org/projects/score-p/overview/overview.html>
- **Last updated:** 2026-07-11T09:50:50+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- otf2-config (alias)
- otf2-estimator (alias)
- otf2-marker (alias)
- otf2-print (alias)
- otf2-snapshots (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.2
## Project history and usage

Open Trace Format 2 is a high-performance event trace format and support library for high-performance computing performance analysis. It sits in the Score-P tool ecosystem and gives trace writers and analysis tools a common binary format for large parallel program runs.

### Project history

OTF2 was created as the common successor to the original Open Trace Format and the Epilog trace format. The 2012 OTF2 paper described it as a redesign informed by those predecessor formats, with a new file encoding, close integration with Score-P, and explicit scalability improvements for large trace data.

The OTF2 manual identifies the library as a Score-P project component and describes the package as an interface for reading and writing trace data, distributed under a BSD license suitable for academic and commercial use. The Score-P documentation groups OTF2 with Cube4 and OPARI2 as part of the wider VI-HPS performance instrumentation and analysis stack.

### Adoption history

VI-HPS documentation describes OTF2 as the standard trace format for Scalasca, Vampir, and TAU, while OLCF user documentation explains that Score-P generates OTF2 traces for analysis by those tools. That combination made OTF2 a package-manager-facing format library rather than just an internal file format.

The original OTF project page at TU Dresden points users from the retired Open Trace Format to OTF2 in the Score-P infrastructure, which marks the transition from first-generation OTF tooling to the Score-P-era trace stack.

### How it is used

Developers and performance engineers use OTF2 indirectly through Score-P measurement runs and directly through its reader and writer APIs and command-line tools. A typical Score-P workflow instruments C, C++, or Fortran code, runs a measurement, enables tracing, and then analyzes the resulting OTF2 trace with tools such as Vampir.

Package users care about executables such as otf2-print, otf2-config, otf2-estimator, and otf2-snapshots because they make trace files inspectable and scriptable outside a full GUI performance-analysis session.

### Why package nerds care

OTF2 is significant because it is a format package with ecosystem gravity: installing it supplies the shared library and utilities behind several HPC profiling and tracing workflows. It is also a good example of a scientific package whose importance comes from interoperability between instrumentation, storage format, and visualization tools.

### Timeline

- 2012: The OTF2 paper introduced Open Trace Format 2 as a redesigned successor to OTF version 1 and Epilog, focused on scalable trace encoding and Score-P integration.
- 2014: TU Dresden listed OTF 1.12.5 as the last stable OTF release and directed users to OTF2 through Score-P.
- 2021: The OTF2 2.3 software record on Zenodo described HIP accelerator and Kokkos paradigm additions, showing the format continuing to track HPC programming models.

### Related projects

- Score-P produces OTF2 traces; Scalasca, Vampir, and TAU consume or work with OTF2 trace data; Cube4 occupies the corresponding profile-data role in the same performance-analysis family.

### Sources

- <https://docs.olcf.ornl.gov/software/profiling/Scorep.html>
- <https://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-3.0/pdf/otf2.pdf>
- <https://tu-dresden.de/zih/forschung/projekte/otf/?set_language=en>
- <https://www.researchgate.net/publication/259229252_Open_Trace_Format_2_The_Next_Generation_of_Scalable_Trace_Formats_and_Support_Libraries>
- <https://www.vi-hps.org/projects/score-p/documentation/documentation.html>
- <https://zenodo.org/records/4682684>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Other Package-Manager Records

- Debian apt - libopen-trace-format2-10t64 - 3.0.3-3.1+b1: normalized package name match | Debian stable package indexes: libopen-trace-format2-10t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Trace Format support library - shared library | https://www.vi-hps.org/projects/score-p
- Debian apt - libopen-trace-format2-dev - 3.0.3-3.1+b1: normalized package name match | Debian stable package indexes: libopen-trace-format2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Trace Format support library - development files | https://www.vi-hps.org/projects/score-p
- Debian apt - libotf2-trace-dev - 3.0.3-3.1+b1: normalized package name match | Debian stable package indexes: libotf2-trace-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Trace Format support library - compatibility symlinks | https://www.vi-hps.org/projects/score-p
- Debian apt - otf2-tools - 3.0.3-3.1+b1: normalized package name match | Debian stable package indexes: otf2-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Trace Format support library - tools | https://www.vi-hps.org/projects/score-p
- Debian apt - python3-otf2 - 3.0.3-3.1+b1: normalized package name match | Debian stable package indexes: python3-otf2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Open Trace Format support library - Python3 bindings | https://www.vi-hps.org/projects/score-p
- Nix - otf2: normalized package name match | nixpkgs package indexes: pkgs/by-name/ot/otf2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libopen-trace-format2-10t64 - 3.0.3-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libopen-trace-format2-10t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Trace Format support library - shared library | https://www.vi-hps.org/projects/score-p
- Ubuntu apt - libopen-trace-format2-dev - 3.0.3-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libopen-trace-format2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Trace Format support library - development files | https://www.vi-hps.org/projects/score-p
- Ubuntu apt - libotf2-trace-dev - 3.0.3-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libotf2-trace-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Trace Format support library - compatibility symlinks | https://www.vi-hps.org/projects/score-p
- Ubuntu apt - otf2-tools - 3.0.3-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: otf2-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Trace Format support library - tools | https://www.vi-hps.org/projects/score-p
- Ubuntu apt - python3-otf2 - 3.0.3-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-otf2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Open Trace Format support library - Python3 bindings | https://www.vi-hps.org/projects/score-p
- dnf - otf2 - 3.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: otf2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Open Trace Format 2 library | http://score-p.org
- dnf - otf2-devel - 3.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: otf2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for otf2 | http://score-p.org
- dnf - otf2-doc - 3.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: otf2-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for otf2 | http://score-p.org
- dnf - python3-otf2 - 3.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-otf2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python 3 bindings for otf2 | http://score-p.org


## Combined YAML source

View the package source record on GitHub. [combined/otf2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/otf2.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
