# 使用 Homebrew, apt, dnf, MacPorts, pacman, zypper 安装 tnftp

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

## 安装

```sh
sudo av install brew:tnftp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tnftp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tnftp
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install tnftp
```

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

- dnf (92%):

```sh
sudo dnf install tnftp
```

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

- pacman (92%):

```sh
sudo pacman -S tnftp
```

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

- zypper (92%):

```sh
sudo zypper install tnftp
```

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

## 软件包事实

- **软件包键:** brew:tnftp
- **软件包管理器:** Homebrew
- **版本:** 20260211
- **来源摘要:** NetBSD's FTP client
- **主页:** <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tnftp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tnftp is the portable packaging of NetBSD's enhanced `ftp` client. It carries the classic Berkeley FTP client lineage forward through NetBSD, while adding script-friendly URL fetching and portability outside NetBSD.

### 项目历史

The NetBSD manual page shows both lineages: Berkeley Regents copyrights from the 1980s and early 1990s, and NetBSD Foundation work beginning in 1996 contributed by Luke Mewburn. The NetBSD source version header identifies the product as `NetBSD-ftp` and records a 20260208 version in current source.

The portable distribution history is documented in NetBSD's tnftp archive. The directory message states that tnftp is a port of the enhanced NetBSD ftp client to other systems and that `lukemftp` was renamed to `tnftp`. Archived tarballs show `lukemftp` releases beginning in 1999, a `tnftp-2.0-beta1` tarball in 2003, date-stamped tnftp tarballs through the 2000s and 2010s, and a 2026 tarball.

### 采用历史

tnftp's adoption comes from being a maintained, portable BSD ftp client at a time when base-system ftp clients were disappearing, diverging, or lacking HTTP/URL conveniences. The supplied package facts show it in Homebrew, Fedora/DNF, MacPorts, Arch, openSUSE/Zypper, and as `ftp` in Debian and Ubuntu.

The man page's auto-fetching support is a key adoption detail: it can fetch FTP, HTTP, HTTPS, and file URLs directly into the current directory, which made it useful in scripts and package recipes that wanted a familiar `ftp` command with URL support.

### 使用方式

Users invoke `ftp` or `tnftp` interactively to transfer files to and from FTP servers, or non-interactively to fetch URLs. The manual page documents `.netrc` support through `-N`, anonymous mode, passive/active behavior, IPv4/IPv6 selection, retries, output naming, custom HTTP headers, and URL auto-fetching.

In package-manager culture, tnftp often appears as a pragmatic replacement for a missing or weaker system ftp client. It gives bootstrap scripts and port recipes a small BSD-licensed network fetcher with predictable behavior across Unix-like systems.

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

For package nerds, tnftp matters because it is both historical userland and packaging glue. It preserves the Berkeley/NetBSD ftp interface while making that interface portable and useful for scripted downloads, including HTTP(S) URLs.

It also illustrates why package managers sometimes carry tools that look obsolete by protocol name: even after FTP's decline, a compact, scriptable `ftp` command remained useful for compatibility, bootstrap, and reproducible build environments.

### 时间线

- 1985-1994: Berkeley FTP client ancestry appears in the NetBSD manual page copyrights and SCCS marker.
- 1996: NetBSD Foundation ftp work begins in the manual page copyright range.
- 1999: `lukemftp-1.0.tar.gz` appears in the NetBSD tnftp archive.
- 2003: `tnftp-2.0-beta1.tar.gz` appears after the rename from lukemftp to tnftp.
- 2023: NetBSD archive publishes date-stamped tnftp tarballs for April and May 2023.
- 2026: NetBSD current source identifies `FTP_VERSION` as `20260208`, and the archive contains `tnftp-20260211.tar.gz`.

### Related projects

- Related to NetBSD's base-system `ftp` client in `usr.bin/ftp`.
- Closely paired in the portable archive with tnftpd, the corresponding NetBSD FTP server port.

### 来源

- <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/>
- <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/.message>
- <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/archive/>
- <https://github.com/NetBSD/src/tree/trunk/usr.bin/ftp>
- <https://man.netbsd.org/ftp.1>
- <https://raw.githubusercontent.com/NetBSD/src/trunk/usr.bin/ftp/version.h>
- input source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: ~/.netrc
## 其他软件包管理器记录

- Debian apt - ftp - 20230507-2: normalized package name match | Debian stable package indexes: ftp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dummy transitional package for tnftp | https://en.wikipedia.org/wiki/Tnftp
- Debian apt - tnftp - 20230507-2+b1: normalized package name match | Debian stable package indexes: tnftp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | enhanced ftp client | https://en.wikipedia.org/wiki/Tnftp
- Ubuntu apt - ftp - 20230507-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: ftp from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | dummy transitional package for tnftp | https://en.wikipedia.org/wiki/Tnftp
- Ubuntu apt - tnftp - 20230507-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tnftp from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | enhanced ftp client | https://en.wikipedia.org/wiki/Tnftp
- dnf - tnftp - 20260211-3.fc45: normalized package name match | Fedora Rawhide package metadata: tnftp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | FTP (File Transfer Protocol) client from NetBSD | http://www.NetBSD.org/
- pacman - tnftp - 20260211-1: normalized package name match | Arch Linux sync databases: tnftp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | NetBSD FTP client with several advanced features | https://ftp.netbsd.org/pub/NetBSD/misc/tnftp/
- zypper - tnftp - 20260211-2.4: normalized package name match | openSUSE Tumbleweed package metadata: tnftp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Enhanced FTP Client | https://ftp.netbsd.org/pub/NetBSD/misc/tnftp/
- MacPorts - tnftp: normalized package name match | MacPorts ports tree: net/tnftp/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/tnftp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tnftp.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
