# 使用 Homebrew, apk, dnf, Nix, pacman, zypper 安装 lttng-ust

查看 lttng-ust 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:lttng-ust
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lttng-ust
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add lttng-ust
```

  证据: Alpine Linux edge package indexes: lttng-ust from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install lttng-ust
```

  证据: Fedora Rawhide package metadata: lttng-ust 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#lttng-ust
```

  证据: nixpkgs package indexes: pkgs/by-name/lt/lttng-ust/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lttng-ust
```

  证据: Arch Linux sync databases: lttng-ust from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install liblttng-ust-ctl6
```

  证据: openSUSE Tumbleweed package metadata: liblttng-ust-ctl6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:lttng-ust
- **软件包管理器:** Homebrew
- **版本:** 2.15.1
- **来源摘要:** Linux Trace Toolkit Next Generation Userspace Tracer
- **主页:** <https://lttng.org/>
- **最后更新:** 2026-06-15T17:16:33Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- lttng-gen-tp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.15.1
## 项目历史与用法

LTTng-UST is the user-space tracing component of the LTTng project. It provides libraries and agents that let C, C++, Java, Python, and other user applications emit events into LTTng traces, complementing the LTTng kernel tracer and LTTng-tools control utilities.

### 项目历史

LTTng, short for Linux Trace Toolkit: next generation, grew out of the Linux tracing work associated with Mathieu Desnoyers and the Polytechnique Montreal/EfficiOS ecosystem. Official LTTng publications list papers and talks from the mid-2000s onward, including 2006 work on low-impact GNU/Linux tracing, 2008 work on tracing across hypervisor-to-user-space execution layers, and 2009 work on combining kernel and application tracing.

The LTTng documentation presents LTTng as a toolkit made of separate but coordinated components: LTTng-tools for control, LTTng-modules for kernel instrumentation, and LTTng-UST for user-space instrumentation. LTTng-UST specifically contains shared libraries for C/C++ user applications, Java and Python tracing support, and user-space helpers, all designed to record low-overhead traces that can be correlated with kernel events.

### 采用历史

LTTng-UST became important because full-system performance debugging often needs both sides of the user/kernel boundary. The official documentation emphasizes correlated kernel, user application, and user library tracing, plus low overhead and production suitability. The supplied package-manager facts show broad distribution packaging across Homebrew, apk, dnf, Nix, pacman, and zypper, which matches the official claim that LTTng is available on major desktop, server, and embedded Linux distributions.

The LTTng 2.x series also made LTTng-UST a separately versioned package that tracks the same minor release series as the rest of LTTng. The official download page lists current release archives and Git clone URLs for lttng-tools, lttng-ust, and lttng-modules, and notes that applications instrumented with older LTTng-UST versions do not need to be rebuilt for newer LTTng-tools.

### 使用方式

Developers use LTTng-UST by linking applications against liblttng-ust or by loading user-space tracing helpers. The man page documents three main paths: printf-like tracef APIs, log-level tracelog APIs, and custom tracepoint providers. In normal workflows LTTng-tools controls sessions, enables user-space events, records traces, and hands trace data to viewers such as Babeltrace.

The package matters most for performance investigations, production diagnostics, embedded Linux tracing, and situations where logging is either too high level or too expensive. It is not a configuration-file-driven command-line app; it is a library and instrumentation toolkit, so no credentials or persistent user config path is part of the package identity.

### 为什么软件包爱好者会关心

LTTng-UST is a classic packaging dependency for serious Linux observability stacks: it is not only an executable, but a set of ABI-sensitive libraries that other instrumented software links against. Package managers care about it because version compatibility with LTTng-tools, liburcu, optional agents, and distribution library paths directly affects whether traces can be recorded in production.

### 时间线

- 2006: Official publications list LTTng work on low-impact GNU/Linux tracing.
- 2009: Official publications include combined kernel and application tracing with LTTng.
- 2012: LTTng 2.0 era talks presented application, library, and kernel tracing within Linux distributions.
- 2026: Official documentation still presents LTTng as active open source Linux tracing infrastructure, with LTTng-UST as the user-space component.

### Related projects

- LTTng-tools controls tracing sessions and enables LTTng-UST events.
- LTTng-modules provides the Linux kernel tracing side of the same toolkit.
- Userspace RCU is a build dependency documented by LTTng for LTTng-tools and LTTng-UST.
- Babeltrace is commonly used to view or process LTTng trace data.

### 来源

- <https://lttng.org/>
- <https://lttng.org/docs/v2.13/>
- <https://lttng.org/download/>
- <https://lttng.org/man/3/lttng-ust/v2.15/>
- <https://lttng.org/publications/>
- <https://raw.githubusercontent.com/lttng/lttng-ust/master/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - lttng-ust: normalized package name match | nixpkgs package indexes: pkgs/by-name/lt/lttng-ust/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - lttng-ust - 2.14.2-r0: normalized package name match | Alpine Linux edge package indexes: lttng-ust from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LTTng 2.0 Userspace Tracer | https://lttng.org/
- apk - lttng-ust-dev - 2.14.2-r0: normalized package name match | Alpine Linux edge package indexes: lttng-ust-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LTTng 2.0 Userspace Tracer (development files) | https://lttng.org/
- apk - lttng-ust-doc - 2.14.2-r0: normalized package name match | Alpine Linux edge package indexes: lttng-ust-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | LTTng 2.0 Userspace Tracer (documentation) | https://lttng.org/
- apk - lttng-ust-tools - 2.14.2-r0: normalized package name match | Alpine Linux edge package indexes: lttng-ust-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | tools from lttng-ust | https://lttng.org/
- apk - py3-lttng - 2.14.2-r0: normalized package name match | Alpine Linux edge package indexes: py3-lttng from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | lttng-ust python agent | https://lttng.org/
- dnf - lttng-ust - 2.15.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: lttng-ust from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | LTTng Userspace Tracer library | https://lttng.org
- dnf - lttng-ust-devel - 2.15.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: lttng-ust-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | LTTng Userspace Tracer library headers and development files | https://lttng.org
- dnf - python3-lttngust - 2.15.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: python3-lttngust from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python bindings for LTTng UST | https://lttng.org
- pacman - lttng-ust - 2.15.1-1: normalized package name match | Arch Linux sync databases: lttng-ust from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | LTTng user space tracing libraries for LTTng | https://lttng.org/
- zypper - liblttng-ust-ctl6 - 2.14.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: liblttng-ust-ctl6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux Trace Toolkit Userspace Tracer library | https://lttng.org/
- zypper - liblttng-ust-ctl6-32bit - 2.14.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: liblttng-ust-ctl6-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux Trace Toolkit Userspace Tracer library | https://lttng.org/
- zypper - liblttng-ust-python-agent1 - 2.14.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: liblttng-ust-python-agent1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux Trace Toolkit Userspace Tracer Python agent library | https://lttng.org/
- zypper - liblttng-ust-python-agent1-32bit - 2.14.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: liblttng-ust-python-agent1-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux Trace Toolkit Userspace Tracer Python agent library | https://lttng.org/
- zypper - liblttng-ust1 - 2.14.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: liblttng-ust1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux Trace Toolkit Userspace Tracer library | https://lttng.org/
- zypper - liblttng-ust1-32bit - 2.14.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: liblttng-ust1-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Linux Trace Toolkit Userspace Tracer library | https://lttng.org/


## Combined YAML source

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


## 来源

- 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
