macOS
brew install libnfclocal Homebrew formula metadata
sudo port install libnfcMacPorts ports tree · comms/libnfc/Portfile · 来源: api.github.com
安装
brew install libnfclocal Homebrew formula metadata
sudo port install libnfcMacPorts ports tree · comms/libnfc/Portfile · 来源: api.github.com
sudo apk add libnfcAlpine Linux edge package indexes · libnfc · 来源: dl-cdn.alpinelinux.org
sudo dnf install libnfcFedora Rawhide package metadata · libnfc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libnfcnixpkgs package indexes · pkgs/by-name/li/libnfc/package.nix · 来源: api.github.com
sudo pacman -S libnfcArch Linux sync databases · libnfc · 来源: geo.mirror.pkgbuild.com
sudo apt install libnfc-binDebian stable package indexes · libnfc-bin · 来源: deb.debian.org
sudo zypper install libnfc-developenSUSE Tumbleweed package metadata · libnfc-devel · 来源: download.opensuse.org
概览
Low level NFC SDK and Programmers API
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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/*.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nfc-anticol | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-barcode | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-dep-initiator | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-dep-target | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-emulate-forum-tag2 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-emulate-forum-tag4 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-emulate-tag | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-emulate-uid | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-jewel | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-list | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-mfclassic | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-mfsetuid | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-mfultralight | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-poll | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-read-forum-tag3 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-relay | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-relay-picc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
nfc-scan-device | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
pn53x-diagnose | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
pn53x-sam | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
pn53x-tamashell | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:libnfc |
|---|---|
| 版本 | 1.8.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/nfc-tools/libnfc |
| 仓库 | https://github.com/nfc-tools/libnfc |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-14.fc45
NFC SDK and Programmers API
sudo dnf install libnfc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.