# libnfc mit Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libnfc in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:libnfc
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install libnfc
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libnfc
```

  Evidenz: MacPorts ports tree: comms/libnfc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libnfc
```

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

- dnf (92%):

```sh
sudo dnf install libnfc
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libnfc
```

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

- pacman (92%):

```sh
sudo pacman -S libnfc
```

  Evidenz: Arch Linux sync databases: libnfc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libnfc-bin
```

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

- zypper (92%):

```sh
sudo zypper install libnfc-devel
```

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

## Paketfakten

- **Paketschlüssel:** brew:libnfc
- **Paketmanager:** Homebrew
- **Version:** 1.8.0
- **Quellzusammenfassung:** Low level NFC SDK and Programmers API
- **Homepage:** <https://github.com/nfc-tools/libnfc>
- **Repository:** <https://github.com/nfc-tools/libnfc>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- nfc-anticol (Alias)
- nfc-barcode (Alias)
- nfc-dep-initiator (Alias)
- nfc-dep-target (Alias)
- nfc-emulate-forum-tag2 (Alias)
- nfc-emulate-forum-tag4 (Alias)
- nfc-emulate-tag (Alias)
- nfc-emulate-uid (Alias)
- nfc-jewel (Alias)
- nfc-list (Alias)
- nfc-mfclassic (Alias)
- nfc-mfsetuid (Alias)
- nfc-mfultralight (Alias)
- nfc-poll (Alias)
- nfc-read-forum-tag3 (Alias)
- nfc-relay (Alias)
- nfc-relay-picc (Alias)
- nfc-scan-device (Alias)
- pn53x-diagnose (Alias)
- pn53x-sam (Alias)
- pn53x-tamashell (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.8.0
## Projektgeschichte und Nutzung

libnfc is the nfc-tools C library for user-space access to NFC devices. It targets low-level reader and tag work rather than a single application workflow, exposing reader, initiator, and target features through a portable API and companion command-line tools.

### Projektgeschichte

The README identifies libnfc as a Free/Libre Near Field Communication library and credits early historical contributors including Roel Verdult in 2009, Romuald Conty from 2009-2015, Romain Tartiere from 2010-2012, Philippe Teuwen from 2010-2013, and Ludovic Rousseau from 2012-2013.

The project moved its official development center to GitHub after older web and forum sites disappeared. The nfc-tools project page describes broad operating-system support across GNU/Linux, Mac OS X, Windows, and POSIX-style builds.

### Adoptionsgeschichte

libnfc became a familiar dependency for desktop and embedded NFC experimentation because it supports inexpensive PN53x-class hardware, PC/SC readers, MIFARE Classic, FeliCa, ISO/IEC 14443 A/B, Jewel/Topaz, and peer-to-peer data exchange modes.

### Wie es verwendet wird

The package ships many small diagnostic and manipulation tools, including nfc-list, nfc-poll, nfc-scan-device, nfc-mfclassic, nfc-mfultralight, and pn53x utilities. Official configuration examples use /etc/nfc/libnfc.conf and per-device files under /etc/nfc/devices.d when built with sysconfdir=/etc.

### Warum Paket-Nerds sich dafür interessieren

Package maintainers care about libnfc because it is where hardware access, udev/devd rules, USB libraries, PC/SC integration, and optional drivers all meet. It is also a hub for the nfc-tools ecosystem, with nearby projects such as libfreefare, libllcp, libndef, mfcuk, mfoc, and pam_nfc.

### Zeitleiste

- 2009: README copyright notes identify Roel Verdult and Romuald Conty among the early libnfc contributors.
- 2015: The nfc-tools project page identified GitHub as the code host and listed related nfc-tools projects.
- 2020-05-21: libnfc 1.7.2 was released, with the changelog warning it was incompatible with 1.7.1.
- 2020-05-22: libnfc 1.8.0 restored enum ordering compatibility and bumped the library version to 6.0.0.

### Related projects

- Related nfc-tools projects include libfreefare, libllcp, libndef, mfcuk, mfoc, nfc-eventd, nfcutils, and pam_nfc.
- Hardware and protocol dependencies named by the project include libusb, pcsc-lite, PN53x devices, PC/SC readers, MIFARE Classic, and FeliCa.

### Quellen

- <https://github.com/nfc-tools/libnfc>
- <https://github.com/nfc-tools/libnfc/blob/master/ChangeLog>
- <https://nfc-tools.github.io/projects/libnfc/>


## Sicherheitshinweise

generalized runtime or code generation signal.

- **Geiger-Risiko:** yellow / mittel
- generalized runtime or code generation 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.


## Configuration files

- Unix: /etc/nfc/libnfc.conf, /etc/nfc/devices.d/*.conf
## Andere Paketmanager-Einträge

- Debian apt - libnfc-bin - 1.8.0-3.1+b1: normalized package name match | Debian stable package indexes: libnfc-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Near Field Communication (NFC) binaries | http://www.nfc-tools.org/
- Debian apt - libnfc-dev - 1.8.0-3.1+b1: normalized package name match | Debian stable package indexes: libnfc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Near Field Communication (NFC) library (development files) | http://www.nfc-tools.org/
- Debian apt - libnfc-examples - 1.8.0-3.1+b1: normalized package name match | Debian stable package indexes: libnfc-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Near Field Communication (NFC) examples | http://www.nfc-tools.org/
- Debian apt - libnfc-pn53x-examples - 1.8.0-3.1+b1: normalized package name match | Debian stable package indexes: libnfc-pn53x-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Near Field Communication (NFC) examples for PN53x chips only | http://www.nfc-tools.org/
- Debian apt - libnfc6 - 1.8.0-3.1+b1: normalized package name match | Debian stable package indexes: libnfc6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Near Field Communication (NFC) library | http://www.nfc-tools.org/
- Nix - libnfc: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libnfc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libnfc-bin - 1.8.0-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnfc-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Near Field Communication (NFC) binaries | http://www.nfc-tools.org/
- Ubuntu apt - libnfc-dev - 1.8.0-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnfc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Near Field Communication (NFC) library (development files) | http://www.nfc-tools.org/
- Ubuntu apt - libnfc-examples - 1.8.0-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnfc-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Near Field Communication (NFC) examples | http://www.nfc-tools.org/
- Ubuntu apt - libnfc-pn53x-examples - 1.8.0-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnfc-pn53x-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Near Field Communication (NFC) examples for PN53x chips only | http://www.nfc-tools.org/
- Ubuntu apt - libnfc6 - 1.8.0-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libnfc6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Near Field Communication (NFC) library | http://www.nfc-tools.org/
- apk - libnfc - 1.8.0-r2: normalized package name match | Alpine Linux edge package indexes: libnfc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Platform independent Near Field Communication (NFC) library | https://github.com/nfc-tools/libnfc
- apk - libnfc-dev - 1.8.0-r2: normalized package name match | Alpine Linux edge package indexes: libnfc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Platform independent Near Field Communication (NFC) library (development files) | https://github.com/nfc-tools/libnfc
- apk - libnfc-doc - 1.8.0-r2: normalized package name match | Alpine Linux edge package indexes: libnfc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Platform independent Near Field Communication (NFC) library (documentation) | https://github.com/nfc-tools/libnfc
- apk - libnfc-tools - 1.8.0-r2: normalized package name match | Alpine Linux edge package indexes: libnfc-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Platform independent Near Field Communication (NFC) library (tools) | https://github.com/nfc-tools/libnfc
- dnf - libnfc - 1.8.0-14.fc45: normalized package name match | Fedora Rawhide package metadata: libnfc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | NFC SDK and Programmers API | http://www.libnfc.org/


## Combined YAML source

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


## Quellen

- 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
