macOS
brew install libnfclocal Homebrew formula metadata
sudo port install libnfcMacPorts ports tree · comms/libnfc/Portfile · source: api.github.com
brew
Low level NFC SDK and Programmers API. Version 1.8.0 via Homebrew; verified from local package data.
install
brew install libnfclocal Homebrew formula metadata
sudo port install libnfcMacPorts ports tree · comms/libnfc/Portfile · source: api.github.com
sudo apk add libnfcAlpine Linux edge package indexes · libnfc · source: dl-cdn.alpinelinux.org
sudo apt install libnfc-binDebian stable package indexes · libnfc-bin · source: deb.debian.org
sudo dnf install libnfcFedora Rawhide package metadata · libnfc · source: dl.fedoraproject.org
nix profile install nixpkgs#libnfcnixpkgs package indexes · pkgs/by-name/li/libnfc/package.nix · source: api.github.com
sudo pacman -S libnfcArch Linux sync databases · libnfc · source: geo.mirror.pkgbuild.com
sudo zypper install libnfc-developenSUSE Tumbleweed package metadata · libnfc-devel · source: download.opensuse.org
overview
Low level NFC SDK and Programmers API
history
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.
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.
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.
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.
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
/etc/nfc/libnfc.conf/etc/nfc/devices.d/*.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
nfc-anticol | cli | global executable | |
nfc-barcode | cli | global executable | |
nfc-dep-initiator | cli | global executable | |
nfc-dep-target | cli | global executable | |
nfc-emulate-forum-tag2 | cli | global executable | |
nfc-emulate-forum-tag4 | cli | global executable | |
nfc-emulate-tag | cli | global executable | |
nfc-emulate-uid | cli | global executable | |
nfc-jewel | cli | global executable | |
nfc-list | cli | global executable | |
nfc-mfclassic | cli | global executable | |
nfc-mfsetuid | cli | global executable | |
nfc-mfultralight | cli | global executable | |
nfc-poll | cli | global executable | |
nfc-read-forum-tag3 | cli | global executable | |
nfc-relay | cli | global executable | |
nfc-relay-picc | cli | global executable | |
nfc-scan-device | cli | global executable | |
pn53x-diagnose | cli | global executable | |
pn53x-sam | cli | global executable | |
pn53x-tamashell | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nfc-tools/libnfc
install metadata
| Package key | brew:libnfc |
|---|---|
| Version | 1.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libnfc |
| Homepage | https://github.com/nfc-tools/libnfc |
| Repository | https://github.com/nfc-tools/libnfc |
| Upstream docs | https://github.com/nfc-tools/libnfc#readme |
| License | LGPL-3.0-or-later |
| Source archive | https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.8.0/libnfc-1.8.0.tar.bz2 |
| Dependencies | libusb-compat |
| Build dependencies | pkgconf |
| Uses from macOS | pcsc-lite |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libnfc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libnfc-bin 1.8.0-3.1+b1
Near Field Communication (NFC) binaries
sudo apt install libnfc-binlibnfc-dev 1.8.0-3.1+b1
Near Field Communication (NFC) library (development files)
sudo apt install libnfc-devlibnfc-examples 1.8.0-3.1+b1
Near Field Communication (NFC) examples
sudo apt install libnfc-exampleslibnfc-pn53x-examples 1.8.0-3.1+b1
Near Field Communication (NFC) examples for PN53x chips only
sudo apt install libnfc-pn53x-exampleslibnfc6 1.8.0-3.1+b1
Near Field Communication (NFC) library
sudo apt install libnfc6libnfc
nix profile install nixpkgs#libnfclibnfc-bin 1.8.0-3.1build1
Near Field Communication (NFC) binaries
sudo apt install libnfc-binlibnfc-dev 1.8.0-3.1build1
Near Field Communication (NFC) library (development files)
sudo apt install libnfc-devlibnfc-examples 1.8.0-3.1build1
Near Field Communication (NFC) examples
sudo apt install libnfc-exampleslibnfc-pn53x-examples 1.8.0-3.1build1
Near Field Communication (NFC) examples for PN53x chips only
sudo apt install libnfc-pn53x-exampleslibnfc6 1.8.0-3.1build1
Near Field Communication (NFC) library
sudo apt install libnfc6libnfc 1.8.0-r2
Platform independent Near Field Communication (NFC) library
https://github.com/nfc-tools/libnfc
sudo apk add libnfclibnfc-dev 1.8.0-r2
Platform independent Near Field Communication (NFC) library (development files)
https://github.com/nfc-tools/libnfc
sudo apk add libnfc-devlibnfc-doc 1.8.0-r2
Platform independent Near Field Communication (NFC) library (documentation)
https://github.com/nfc-tools/libnfc
sudo apk add libnfc-doclibnfc-tools 1.8.0-r2
Platform independent Near Field Communication (NFC) library (tools)
https://github.com/nfc-tools/libnfc
sudo apk add libnfc-toolslibnfc 1.8.0-13.fc44
NFC SDK and Programmers API
sudo dnf install libnfcsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.