# Installer strace avec Homebrew, apk, apt, dnf, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de strace pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:strace
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install strace
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add strace
```

  Preuve: Alpine Linux edge package indexes: strace from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install strace
```

  Preuve: Debian stable package indexes: strace from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install strace
```

  Preuve: Fedora Rawhide package metadata: strace 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#strace
```

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

- pacman (92%):

```sh
sudo pacman -S strace
```

  Preuve: Arch Linux sync databases: strace from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install strace
```

  Preuve: openSUSE Tumbleweed package metadata: strace from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:strace
- **Gestionnaire de paquets:** Homebrew
- **Version:** 7.1
- **Résumé source:** Diagnostic, instructional, and debugging tool for the Linux kernel
- **Page d'accueil:** <https://strace.io/>
- **Dépôt:** <https://github.com/strace/strace>
- **Dernière mise à jour:** 2026-06-15T19:22:18Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- strace (alias)
- strace-log-merge (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 7.1
## Historique du projet et usages

strace is the standard Linux command-line tool for tracing system calls and signals. It is central to Unix debugging culture because it turns opaque process behavior into a readable syscall transcript.

### Historique du projet

The strace manual history says the original program was written by Paul Kranenburg for SunOS and inspired by Sun's trace utility. Branko Lankester ported it to Linux and added Linux kernel support, and Rick Sladkey merged the SunOS and Linux lines in 1993 before adding SVR4, Solaris, and Irix work.

Maintenance later moved through Wichert Akkerman in 1996, Roland McGrath in 2002, and Dmitry Levin from 2009. The manual records major platform work across Linux architectures, a migration to Git, and the eventual removal of non-Linux code after the 4.6 release.

### Historique d'adoption

strace is packaged across mainstream Unix-like package managers in the supplied source facts, including Homebrew, Debian, Fedora, Arch, Alpine, Nix, Ubuntu, and openSUSE.

Its adoption is tied less to a framework ecosystem and more to everyday operational debugging: when a binary cannot open a file, hangs on a socket, sees unexpected permissions, or makes surprising syscalls, strace is the small tool users install first.

### Modes d'utilisation

The man page describes tracing a new command, attaching to an existing process with -p, filtering syscall sets, tracing paths, dumping selected file descriptor I/O, collecting timing summaries, printing timestamps, decoding file descriptors, and injecting syscall faults.

Package users commonly install it as a rescue and diagnosis tool on Linux hosts, containers, CI images, and development machines.

### Pourquoi les passionnés de paquets s'y intéressent

strace is package-nerd significant because it explains package failures at the syscall layer: missing shared libraries, wrong config paths, permission problems, sandbox behavior, and network or filesystem assumptions become visible without rebuilding the program.

It is also a fixture of minimal debugging toolbelts. Even users who do not develop strace depend on distributions keeping its syscall tables current with the Linux kernel.

### Chronologie

- 1991: Paul Kranenburg's SunOS strace lineage begins, according to the man page history.
- 1992: Branko Lankester ports strace to Linux.
- 1993: Rick Sladkey takes on the project and merges the SunOS and Linux versions.
- 1996: Wichert Akkerman becomes maintainer.
- 2002: Roland McGrath takes over maintenance.
- 2009: Dmitry Levin becomes active maintainer.
- 2012: strace 4.7 removes non-Linux code after the 4.6 release.

### Related projects

- The man page positions strace among Unix tracing tools such as Sun trace and SVR4 truss, and its Linux implementation depends on the kernel ptrace interface.
- Adjacent Linux diagnostic tools include ltrace, perf, ftrace tooling, and system-call-aware debuggers, but strace remains the small user-facing syscall tracer most package users reach for.

### Sources

- <https://github.com/strace/strace/blob/master/COPYING>
- <https://github.com/strace/strace/blob/master/NEWS>
- <https://man7.org/linux/man-pages/man1/strace.1.html>
- source_facts.package-manager


## Notes de sécurité

process tracing tool.

- **Risque Geiger:** red / moyen
- process tracing tool

## Autres enregistrements de gestionnaires de paquets

- Debian apt - strace - 6.13+ds-1: normalized package name match | Debian stable package indexes: strace from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | System call tracer | https://strace.io
- Nix - strace: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/strace/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - strace - 6.8-0ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: strace from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | System call tracer | https://strace.io
- apk - strace - 6.19-r1: normalized package name match | Alpine Linux edge package indexes: strace from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Diagnostic, debugging and instructional userspace tracer | https://strace.io
- apk - strace-dbg - 6.19-r1: normalized package name match | Alpine Linux edge package indexes: strace-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Diagnostic, debugging and instructional userspace tracer (debug symbols) | https://strace.io
- apk - strace-doc - 6.19-r1: normalized package name match | Alpine Linux edge package indexes: strace-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Diagnostic, debugging and instructional userspace tracer (documentation) | https://strace.io
- dnf - strace - 7.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: strace from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tracks and displays system calls associated with a running process | https://strace.io
- pacman - strace - 7.0-1: normalized package name match | Arch Linux sync databases: strace from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A diagnostic, debugging and instructional userspace tracer | https://strace.io/
- zypper - strace - 7.1-2.3: normalized package name match | openSUSE Tumbleweed package metadata: strace from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A utility to trace the system calls of a program | http://strace.io/


## Combined YAML source

View the package source record on GitHub. [combined/strace.yml](https://github.com/mxcl/pkgdb/blob/main/combined/strace.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
