pkg.soopen package index

brew / rank 2921

Install strace with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Diagnostic, instructional, and debugging tool for the Linux kernel. Version 7.1 via Homebrew; verified 2026-06-15. Also installable with debian: sudo apt install strace.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install strace

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add strace

Alpine Linux edge package indexes · strace · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install strace

Debian stable package indexes · strace · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install strace

Fedora Rawhide package metadata · strace · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#strace

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

Arch Linux pacmanverified · 92%
sudo pacman -S strace

Arch Linux sync databases · strace · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install strace

openSUSE Tumbleweed package metadata · strace · source: download.opensuse.org

overview

Package summary

Diagnostic, instructional, and debugging tool for the Linux kernel

Commands and aliases

  • strace
  • strace-log-merge

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: red

process tracing tool.

Risk classifier

red risk · medium confidence · escape-surveillance-offensive

Why

  • process tracing tool

Signals

  • override:strace

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
straceexecutableindexed executableDiscovered from the local executable index.
strace-log-mergeexecutableindexed 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 version7.1
manager updated2026-06-15
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:strace
Version7.1
Package managerHomebrew
Homepagehttps://strace.io/
Repositoryhttps://github.com/strace/strace
Last updated2026-06-15T19:22:18Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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%

strace 6.13+ds-1

System call tracer

https://strace.io

sudo apt install strace
  • Section: utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Strace
Debian stable package indexes · deb.debian.org · Debian stable package indexes: strace from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

strace

nix profile install nixpkgs#strace
  • normalized package name match
  • Matched by: Strace
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/strace/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

strace 6.8-0ubuntu2

System call tracer

https://strace.io

sudo apt install strace
  • Section: utils
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Strace
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: strace from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

strace 6.19-r1

Diagnostic, debugging and instructional userspace tracer

https://strace.io

sudo apk add strace
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: strace
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Strace
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: strace from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

strace-dbg 6.19-r1

Diagnostic, debugging and instructional userspace tracer (debug symbols)

https://strace.io

sudo apk add strace-dbg
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: strace
  • 1 dependencies
  • normalized package name match
  • Matched by: Strace
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: strace-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

strace-doc 6.19-r1

Diagnostic, debugging and instructional userspace tracer (documentation)

https://strace.io

sudo apk add strace-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: strace
  • normalized package name match
  • Matched by: Strace
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: strace-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

strace 7.1-1.fc45

Tracks and displays system calls associated with a running process

https://strace.io

sudo dnf install strace
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-1.0-or-later WITH Linux-syscall-note) AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: strace
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Strace
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: strace from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

strace 7.0-1

A diagnostic, debugging and instructional userspace tracer

https://strace.io/

sudo pacman -S strace
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Strace
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: strace from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

strace 7.1-2.3

A utility to trace the system calls of a program

http://strace.io/

sudo zypper install strace
  • License: LGPL-2.1-or-later
  • Category: Development/Tools/Debuggers
  • Architecture: x86_64
  • Source Package: strace
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Strace
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: strace from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation