# 使用 Homebrew, dnf, MacPorts, Nix, pacman, apt 安装 libftdi

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

## 安装

```sh
sudo av install brew:libftdi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libftdi
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libftdi
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install libftdi
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libftdi
```

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

- pacman (92%):

```sh
sudo pacman -S libftdi
```

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

- Debian apt (92%):

```sh
sudo apt install libftdi-dev
```

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

## 软件包事实

- **软件包键:** brew:libftdi
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libftdi>
- **版本:** 1.5
- **来源摘要:** Library to talk to FTDI chips
- **主页:** <https://www.intra2net.com/en/developer/libftdi>
- **上游文档:** <https://www.intra2net.com/en/developer/libftdi>
- **许可证:** LGPL-2.1-only
- **源码归档:** <https://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.5.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ftdi_eeprom (cli)
- libftdi1-config (cli)
- ftdi_eeprom (别名)
- libftdi1-config (别名)

## 依赖

- boost
- confuse
- libusb

## 构建依赖

- cmake
- pkgconf
- swig

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.5
- 本地数据: OK
- 上游仓库: https://www.intra2net.com/en/developer/libftdi
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

libftdi is Intra2net’s open-source userspace library for communicating with FTDI USB serial and FIFO chips through libusb, including bitbang and EEPROM tooling.

### 项目历史

The official libFTDI page describes the library as a way to talk to FTDI chips from userspace with no kernel driver required, supporting chip families from FT8U232/FT8U245 through FT230X, FT232R, FT245R, FT2232, and FT4232H. Intra2net’s repository page identifies master as the libusb 1.0 development branch and libftdi-0.x as the legacy libusb 0.x branch.

The project’s official news records libftdi 1.3 on 2016-05-20, 1.4 on 2017-08-07, and 1.5 on 2020-07-07. Those releases added USB string APIs, transfer cancellation, EEPROM configuration improvements, FT230X baud-rate handling, kernel driver auto attach and detach, tcflush-style APIs, SPDX identifiers, Python wrapper improvements, and CMake improvements.

### 采用历史

libftdi became common in hardware development because it avoided vendor-only driver stacks for FTDI adapters while still supporting popular serial, FIFO, and bitbang use cases. Its package presence across Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, and other distributions reflects broad embedded, lab, and board-bringup usage.

### 使用方式

Applications link libftdi to enumerate and communicate with FTDI devices through libusb. The package also ships ftdi_eeprom for EEPROM decoding and programming, with release notes calling out repeated EEPROM handling improvements.

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

libftdi is a small but important hardware-enablement package: it gives distributions a Free Software path for FTDI chips without forcing every electronics tool to vendor its own USB code. It is also a packaging reminder that command-line EEPROM utilities, Python bindings, libusb transitions, and kernel-driver detach behavior are part of the real ABI users care about.

### 时间线

- 2016-05-20: Intra2net news records libftdi 1.3.
- 2017-08-07: Intra2net news records libftdi 1.4.
- 2020-07-07: Intra2net news records libftdi 1.5.
- 2026: The official repository page still documents master for libusb 1.0 development and libftdi-0.x for legacy libusb 0.x code.

### Related projects

- libusb provides the portable USB access layer used by libftdi.
- The Linux ftdi_sio kernel driver is the kernel-space counterpart that many libftdi workflows deliberately bypass or detach from.

### 来源

- <http://developer.intra2net.com/git/?p=libftdi;a=tags>
- <https://www.intra2net.com/en/developer/libftdi/>
- <https://www.intra2net.com/en/developer/libftdi/repository.php>


## 安全说明

没有找到 libftdi 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libftdi
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libftdi-dev - 0.20-4+b2: normalized package name match | Debian stable package indexes: libftdi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for libftdi | http://www.intra2net.com/en/developer/libftdi/
- Debian apt - libftdi1 - 0.20-4+b2: normalized package name match | Debian stable package indexes: libftdi1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library to control and program the FTDI USB controller | http://www.intra2net.com/en/developer/libftdi/
- Debian apt - libftdi1-dbg - 0.20-4+b2: normalized package name match | Debian stable package indexes: libftdi1-dbg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Debugging symbols for libftdi1 | http://www.intra2net.com/en/developer/libftdi/
- Nix - libftdi: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libftdi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libftdi-dev - 0.20-4ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libftdi-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for libftdi | http://www.intra2net.com/en/developer/libftdi/
- Ubuntu apt - libftdi1 - 0.20-4ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libftdi1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library to control and program the FTDI USB controller | http://www.intra2net.com/en/developer/libftdi/
- Ubuntu apt - libftdi1-dbg - 0.20-4ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libftdi1-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Debugging symbols for libftdi1 | http://www.intra2net.com/en/developer/libftdi/
- dnf - libftdi - 1.5-26.fc45: normalized package name match | Fedora Rawhide package metadata: libftdi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Library to program and control the FTDI USB controller | https://www.intra2net.com/en/developer/libftdi/
- dnf - libftdi-c++ - 1.5-26.fc45: normalized package name match | Fedora Rawhide package metadata: libftdi-c++ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Libftdi library C++ binding | https://www.intra2net.com/en/developer/libftdi/
- dnf - libftdi-c++-devel - 1.5-26.fc45: normalized package name match | Fedora Rawhide package metadata: libftdi-c++-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Libftdi library C++ binding development headers and libraries | https://www.intra2net.com/en/developer/libftdi/
- dnf - libftdi-devel - 1.5-26.fc45: normalized package name match | Fedora Rawhide package metadata: libftdi-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Header files and static libraries for libftdi | https://www.intra2net.com/en/developer/libftdi/
- dnf - python3-libftdi - 1.5-26.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libftdi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Libftdi library Python 3 binding | https://www.intra2net.com/en/developer/libftdi/
- pacman - libftdi - 1.5-10: normalized package name match | Arch Linux sync databases: libftdi from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A library to talk to FTDI chips | https://www.intra2net.com/en/developer/libftdi/
- MacPorts - libftdi: normalized package name match | MacPorts ports tree: devel/libftdi/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - ftdi-eeprom - 1.5-10: installed executable or alias match | Debian stable package indexes: ftdi-eeprom from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool for reading/erasing/flashing FTDI USB chip EEPROMs | https://www.intra2net.com/en/developer/libftdi/
- Ubuntu apt - ftdi-eeprom - 1.5-6build5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ftdi-eeprom from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tool for reading/erasing/flashing FTDI USB chip EEPROMs | https://www.intra2net.com/en/developer/libftdi/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [swig](https://pkg.so/zh-hans/brew/swig/) - Build dependency declared by Homebrew.
- [open-ocd](https://pkg.so/zh-hans/brew/open-ocd/) - Popular package that depends on this formula.
- [avrdude](https://pkg.so/zh-hans/brew/avrdude/) - Popular package that depends on this formula.
- [flashrom](https://pkg.so/zh-hans/brew/flashrom/) - Popular package that depends on this formula.
- [openfpgaloader](https://pkg.so/zh-hans/brew/openfpgaloader/) - Popular package that depends on this formula.
- [icestorm](https://pkg.so/zh-hans/brew/icestorm/) - Popular package that depends on this formula.
- [lcdproc](https://pkg.so/zh-hans/brew/lcdproc/) - Popular package that depends on this formula.
- [owfs](https://pkg.so/zh-hans/brew/owfs/) - Popular package that depends on this formula.
- [libgusb](https://pkg.so/zh-hans/brew/libgusb/) - Shares pkgdb curated category or tags: c-library, cli, libusb, system, usb.
- [glibc](https://pkg.so/zh-hans/brew/glibc/) - Shares pkgdb curated category or tags: c-library, cli, system.
- [crun](https://pkg.so/zh-hans/brew/crun/) - Shares pkgdb curated category or tags: c-library, cli, system.
- [libfuse](https://pkg.so/zh-hans/brew/libfuse/) - Shares pkgdb curated category or tags: c-library, cli, system.
- [libusbmuxd](https://pkg.so/zh-hans/brew/libusbmuxd/) - Shares pkgdb curated category or tags: cli, system, usb.
- [libnotify](https://pkg.so/zh-hans/brew/libnotify/) - Shares pkgdb curated category or tags: c-library, cli, system.
- [dfu-util](https://pkg.so/zh-hans/brew/dfu-util/) - Shares pkgdb curated category or tags: cli, system, usb.
- [libusb-compat](https://pkg.so/zh-hans/brew/libusb-compat/) - Shares pkgdb curated category or tags: cli, system, usb.
- [cahute](https://pkg.so/zh-hans/brew/cahute/) - Local package facts share a topical domain. Shared terms: cli, communication, device, device-communication, libusb.
- [dfu-programmer](https://pkg.so/zh-hans/brew/dfu-programmer/) - Local package facts share a topical domain. Shared terms: chips, cli, device, libusb, system.

## Combined YAML source

View the package source record on GitHub. [combined/libftdi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libftdi.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
