# 使用 Homebrew, apk, apt, MacPorts, Nix, dnf, zypper 安装 tcptraceroute

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

## 安装

```sh
sudo av install brew:tcptraceroute
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tcptraceroute
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tcptraceroute
```

  证据: MacPorts ports tree: net/tcptraceroute/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tcptraceroute
```

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

- Debian apt (92%):

```sh
sudo apt install tcptraceroute
```

  证据: Debian stable package indexes: tcptraceroute from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#tcptraceroute
```

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

- dnf (92%):

```sh
sudo dnf install traceroute
```

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

- zypper (92%):

```sh
sudo zypper install traceroute
```

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

## 软件包事实

- **软件包键:** brew:tcptraceroute
- **软件包管理器:** Homebrew
- **版本:** 1.5beta7
- **来源摘要:** Traceroute implementation using TCP packets
- **主页:** <https://github.com/mct/tcptraceroute>
- **仓库:** <https://github.com/mct/tcptraceroute>
- **最后更新:** 2026-07-10T10:41:25-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tcptraceroute (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tcptraceroute is a traceroute implementation that sends TCP packets instead of relying on the traditional UDP or ICMP probe pattern. Its package-manager niche is diagnosing paths through networks where ordinary traceroute behavior is filtered or misleading.

### 项目历史

Michael C. Toren's official README identifies the project as a TCP-packet traceroute implementation and carries copyright coverage from 2001 through 2015. The ChangeLog records version 1.0 as the initial release on 2001-04-10, followed quickly by safer privilege handling, more probe options, portability work, Debian-related fixes, and libnet/libpcap integration.

### 采用历史

The supplied package metadata shows tcptraceroute packaged across Homebrew, Debian, Ubuntu, Alpine, MacPorts, Nix, and several RPM-family distributions, sometimes through the broader traceroute package name. That spread reflects the long-standing need for a TCP-flavored traceroute in sysadmin and network-diagnostics toolbelts.

### 使用方式

The official examples file demonstrates tcptraceroute tracing through firewalled webservers where traceroute had trouble, using TCP port 80 probes and displaying open endpoints. In practice it is installed when a user wants traceroute-style hop visibility using traffic that resembles a real TCP connection attempt.

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

tcptraceroute is significant because it turns a common troubleshooting workaround into a named package. It is small, old, and specialized, but it has enough operational value that package ecosystems continue to carry it alongside traceroute, libpcap, and libnet.

### 时间线

- 2001-04-10: Version 1.0 initial release.
- 2001-06-30: Version 1.1 added root-privilege dropping after sockets are opened.
- 2001-07-31: Version 1.2 added multiple probe and packet-option features.
- 2006-03-28: Version 1.5beta7 updated manpage examples and Debian-related build details.
- 2001-2015: README copyright range for Michael C. Toren's project.

### Related projects

- Traditional traceroute is the conceptual baseline; libnet and libpcap are documented build dependencies; the official examples compare behavior against traceroute on firewalled destinations.

### 来源

- <https://github.com/mct/tcptraceroute#readme>
- <https://raw.githubusercontent.com/mct/tcptraceroute/master/ChangeLog>
- <https://raw.githubusercontent.com/mct/tcptraceroute/master/README>
- <https://raw.githubusercontent.com/mct/tcptraceroute/master/examples.txt>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - tcptraceroute - 1.5beta7+debian-4.2: normalized package name match | Debian stable package indexes: tcptraceroute from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | traceroute implementation using TCP packets | https://github.com/mct/tcptraceroute
- Nix - tcptraceroute: normalized package name match | nixpkgs package indexes: pkgs/by-name/tc/tcptraceroute/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tcptraceroute - 1.5beta7+debian-4.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: tcptraceroute from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | traceroute implementation using TCP packets | https://github.com/mct/tcptraceroute
- apk - tcptraceroute - 1.5_beta7-r4: normalized package name match | Alpine Linux edge package indexes: tcptraceroute from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Display route path using TCP probes | https://github.com/mct/tcptraceroute
- apk - tcptraceroute-doc - 1.5_beta7-r4: normalized package name match | Alpine Linux edge package indexes: tcptraceroute-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Display route path using TCP probes (documentation) | https://github.com/mct/tcptraceroute
- dnf - traceroute - 2.1.6-5.fc45: normalized package name match | Fedora Rawhide package metadata: traceroute from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Traces the route taken by packets over an IPv4/IPv6 network | http://traceroute.sourceforge.net
- zypper - traceroute - 2.1.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: traceroute from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Packet route path tracing utility | https://traceroute.sourceforge.net/
- MacPorts - tcptraceroute: normalized package name match | MacPorts ports tree: net/tcptraceroute/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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