# 使用 Homebrew, Nix, apt, zypper 安装 libfreefare

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

## 安装

```sh
sudo av install brew:libfreefare
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libfreefare
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libfreefare
```

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

- Debian apt (92%):

```sh
sudo apt install libfreefare-bin
```

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

- zypper (92%):

```sh
sudo zypper install libfreefare-devel
```

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

## 软件包事实

- **软件包键:** brew:libfreefare
- **软件包管理器:** Homebrew
- **版本:** 0.4.0
- **来源摘要:** API for MIFARE card manipulations
- **主页:** <https://github.com/nfc-tools/libfreefare>
- **仓库:** <https://github.com/nfc-tools/libfreefare>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mifare-classic-format (别名)
- mifare-classic-read-ndef (别名)
- mifare-classic-write-ndef (别名)
- mifare-desfire-access (别名)
- mifare-desfire-create-ndef (别名)
- mifare-desfire-ev1-configure-ats (别名)
- mifare-desfire-ev1-configure-default-key (别名)
- mifare-desfire-ev1-configure-random-uid (别名)
- mifare-desfire-format (别名)
- mifare-desfire-info (别名)
- mifare-desfire-read-ndef (别名)
- mifare-desfire-write-ndef (别名)
- mifare-ultralight-info (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

libfreefare is the nfc-tools library that raises libnfc from raw NFC reader access to convenience APIs and command-line tools for MIFARE and related RFID/NFC tags.

### 项目历史

The project sits in the nfc-tools family and is described by its project page as an API for RFID card manipulation on top of libnfc. Its README narrows that role to MIFARE card manipulation and lists libnfc, autotools, and OpenSSL as build dependencies for Unix-like systems.

The public feature matrix documents support for common card families including FeliCa Lite, MIFARE Classic, MIFARE DESFire, MIFARE Ultralight, NTAG21x, and MIFARE Application Directory specifications. GitHub release metadata records libfreefare-0.4.0 on 2015-05-13.

### 采用历史

libfreefare became useful where libnfc users wanted reusable C calls and bundled utilities instead of writing card-format details directly against the lower-level NFC stack. Its packaging across Homebrew, Debian, Ubuntu, Nix, and openSUSE reflects a small but durable audience around NFC labs, access-card tooling, and embedded experiments.

### 使用方式

The package installs a C library plus utilities for formatting, inspecting, and reading or writing NDEF data on MIFARE Classic, DESFire, and Ultralight cards. It is typically used with NFC readers supported by libnfc.

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

For package maintainers, libfreefare is a good example of a narrow hardware-adjacent library whose value comes from keeping protocol-specific card operations out of downstream applications. It also exposes the usual packaging concerns around libnfc ABI compatibility, OpenSSL linkage, and shipping command-line helpers with the library.

### 时间线

- 2013-12-04: The commit tagged libfreefare-0.4.0 updated the project changelog for the 0.4.0 release.
- 2015-05-13: GitHub release metadata records libfreefare-0.4.0.
- 2015: The nfc-tools project page documents libfreefare as part of the nfc-tools project set.

### Related projects

- libnfc supplies the lower-level NFC reader interface used by libfreefare.
- Other nfc-tools projects such as mfoc, mfcuk, libllcp, and nfcutils occupy adjacent NFC tooling niches.

### 来源

- <https://api.github.com/repos/nfc-tools/libfreefare/commits/530ccbc19309c8ab2b8160c2b57fefd747321d04>
- <https://api.github.com/repos/nfc-tools/libfreefare/releases?per_page=100>
- <https://github.com/nfc-tools/libfreefare>
- <https://nfc-tools.github.io/projects/libfreefare/>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

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

- Debian apt - libfreefare-bin - 0.4.0-2.3+b1: normalized package name match | Debian stable package indexes: libfreefare-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MIFARE card manipulations binaries | https://code.google.com/p/libfreefare/
- Debian apt - libfreefare-dev - 0.4.0-2.3+b1: normalized package name match | Debian stable package indexes: libfreefare-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MIFARE card manipulations library (development files) | https://code.google.com/p/libfreefare/
- Debian apt - libfreefare-doc - 0.4.0-2.3: normalized package name match | Debian stable package indexes: libfreefare-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for libfreefare | https://code.google.com/p/libfreefare/
- Debian apt - libfreefare0t64 - 0.4.0-2.3+b1: normalized package name match | Debian stable package indexes: libfreefare0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MIFARE card manipulations library | https://code.google.com/p/libfreefare/
- Nix - libfreefare: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libfreefare/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libfreefare-bin - 0.4.0-2.3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfreefare-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MIFARE card manipulations binaries | https://code.google.com/p/libfreefare/
- Ubuntu apt - libfreefare-dev - 0.4.0-2.3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfreefare-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MIFARE card manipulations library (development files) | https://code.google.com/p/libfreefare/
- Ubuntu apt - libfreefare-doc - 0.4.0-2.3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfreefare-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for libfreefare | https://code.google.com/p/libfreefare/
- Ubuntu apt - libfreefare0t64 - 0.4.0-2.3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfreefare0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MIFARE card manipulations library | https://code.google.com/p/libfreefare/
- zypper - libfreefare-devel - 0.4.0-5.7: normalized package name match | openSUSE Tumbleweed package metadata: libfreefare-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for the Mifare card manipulation library | https://github.com/nfc-tools/libfreefare/
- zypper - libfreefare-tools - 0.4.0-5.7: normalized package name match | openSUSE Tumbleweed package metadata: libfreefare-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tools for Mifare cards | https://github.com/nfc-tools/libfreefare/
- zypper - libfreefare0 - 0.4.0-5.7: normalized package name match | openSUSE Tumbleweed package metadata: libfreefare0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library for Mifare card manipulations | https://github.com/nfc-tools/libfreefare/


## Combined YAML source

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