pkg.soopen package index

brew / 排名 2921

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 strace

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install strace

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add strace

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

Debian apt已验证 · 92%
sudo apt install strace

Debian stable package indexes · strace · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install strace

Fedora Rawhide package metadata · strace · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#strace

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

Arch Linux pacman已验证 · 92%
sudo pacman -S strace

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

openSUSE zypper已验证 · 92%
sudo zypper install strace

openSUSE Tumbleweed package metadata · strace · 来源: download.opensuse.org

概览

软件包摘要

Diagnostic, instructional, and debugging tool for the Linux kernel

命令和别名

  • strace
  • strace-log-merge

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

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

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.

时间线

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

安全态势

风险级别:red

process tracing tool.

风险分类器

red 风险 · 中 置信度 · escape-surveillance-offensive

原因

  • process tracing tool

信号

  • override:strace

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
strace可执行文件已索引可执行文件从本地可执行文件索引发现。
strace-log-merge可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本7.1
管理器更新时间2026-06-15
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:strace
版本7.1
软件包管理器Homebrew
主页https://strace.io/
仓库https://github.com/strace/strace
最后更新2026-06-15T19:22:18Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

strace 6.13+ds-1

System call tracer

https://strace.io

sudo apt install strace
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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