pkg.soopen package index

brew / 排名 4304

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libnfc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libnfc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libnfc

MacPorts ports tree · comms/libnfc/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libnfc

Alpine Linux edge package indexes · libnfc · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install libnfc

Fedora Rawhide package metadata · libnfc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libnfc

nixpkgs package indexes · pkgs/by-name/li/libnfc/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libnfc

Arch Linux sync databases · libnfc · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install libnfc-bin

Debian stable package indexes · libnfc-bin · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libnfc-devel

openSUSE Tumbleweed package metadata · libnfc-devel · 来源: download.opensuse.org

概览

软件包摘要

Low level NFC SDK and Programmers API

命令和别名

  • 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

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/nfc/libnfc.conf/etc/nfc/devices.d/*.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
nfc-anticolcli全局可执行文件
nfc-barcodecli全局可执行文件
nfc-dep-initiatorcli全局可执行文件
nfc-dep-targetcli全局可执行文件
nfc-emulate-forum-tag2cli全局可执行文件
nfc-emulate-forum-tag4cli全局可执行文件
nfc-emulate-tagcli全局可执行文件
nfc-emulate-uidcli全局可执行文件
nfc-jewelcli全局可执行文件
nfc-listcli全局可执行文件
nfc-mfclassiccli全局可执行文件
nfc-mfsetuidcli全局可执行文件
nfc-mfultralightcli全局可执行文件
nfc-pollcli全局可执行文件
nfc-read-forum-tag3cli全局可执行文件
nfc-relaycli全局可执行文件
nfc-relay-picccli全局可执行文件
nfc-scan-devicecli全局可执行文件
pn53x-diagnosecli全局可执行文件
pn53x-samcli全局可执行文件
pn53x-tamashellcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本1.8.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/nfc-tools/libnfc

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/nfc-tools/libnfcnone 置信度

安装元数据

软件包元数据

软件包键brew:libnfc
版本1.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libnfc
主页https://github.com/nfc-tools/libnfc
仓库https://github.com/nfc-tools/libnfc
许可证LGPL-3.0-or-later
源码归档https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.8.0/libnfc-1.8.0.tar.bz2
依赖libusb-compat
构建依赖pkgconf
macOS 提供的库pcsc-lite
Bottle可用 (于 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未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibnfc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libnfc-bin 1.8.0-3.1+b1

Near Field Communication (NFC) binaries

http://www.nfc-tools.org/

sudo apt install libnfc-bin
  • Section: utils
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnfc-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnfc-dev 1.8.0-3.1+b1

Near Field Communication (NFC) library (development files)

http://www.nfc-tools.org/

sudo apt install libnfc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnfc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnfc-examples 1.8.0-3.1+b1

Near Field Communication (NFC) examples

http://www.nfc-tools.org/

sudo apt install libnfc-examples
  • Section: utils
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnfc-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnfc-pn53x-examples 1.8.0-3.1+b1

Near Field Communication (NFC) examples for PN53x chips only

http://www.nfc-tools.org/

sudo apt install libnfc-pn53x-examples
  • Section: utils
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnfc-pn53x-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnfc6 1.8.0-3.1+b1

Near Field Communication (NFC) library

http://www.nfc-tools.org/

sudo apt install libnfc6
  • Section: libs
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnfc6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libnfc

nix profile install nixpkgs#libnfc
  • normalized package name match
  • 匹配方式:Libnfc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libnfc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libnfc-bin 1.8.0-3.1build1

Near Field Communication (NFC) binaries

http://www.nfc-tools.org/

sudo apt install libnfc-bin
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnfc-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnfc-dev 1.8.0-3.1build1

Near Field Communication (NFC) library (development files)

http://www.nfc-tools.org/

sudo apt install libnfc-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnfc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnfc-examples 1.8.0-3.1build1

Near Field Communication (NFC) examples

http://www.nfc-tools.org/

sudo apt install libnfc-examples
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnfc-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnfc-pn53x-examples 1.8.0-3.1build1

Near Field Communication (NFC) examples for PN53x chips only

http://www.nfc-tools.org/

sudo apt install libnfc-pn53x-examples
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnfc-pn53x-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnfc6 1.8.0-3.1build1

Near Field Communication (NFC) library

http://www.nfc-tools.org/

sudo apt install libnfc6
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libnfc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libnfc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnfc6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libnfc 1.8.0-r2

Platform independent Near Field Communication (NFC) library

https://github.com/nfc-tools/libnfc

sudo apk add libnfc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: libnfc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libnfc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnfc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libnfc-dev 1.8.0-r2

Platform independent Near Field Communication (NFC) library (development files)

https://github.com/nfc-tools/libnfc

sudo apk add libnfc-dev
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: libnfc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libnfc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnfc-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libnfc-doc 1.8.0-r2

Platform independent Near Field Communication (NFC) library (documentation)

https://github.com/nfc-tools/libnfc

sudo apk add libnfc-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: libnfc
  • normalized package name match
  • 匹配方式:Libnfc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnfc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libnfc-tools 1.8.0-r2

Platform independent Near Field Communication (NFC) library (tools)

https://github.com/nfc-tools/libnfc

sudo apk add libnfc-tools
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: libnfc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libnfc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libnfc-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libnfc 1.8.0-14.fc45

NFC SDK and Programmers API

http://www.libnfc.org/

sudo dnf install libnfc
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libnfc
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libnfc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libnfc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation