Automic VaultAutomic Vault

brew

Install libfreefare with Homebrew, apt, Nix, zypper

API for MIFARE card manipulations. Version 0.4.0 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libfreefare

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libfreefare-bin

Debian stable package indexes · libfreefare-bin · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#libfreefare

nixpkgs package indexes · pkgs/by-name/li/libfreefare/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install libfreefare-devel

openSUSE Tumbleweed package metadata · libfreefare-devel · source: download.opensuse.org

overview

Package summary

API for MIFARE card manipulations

Commands and aliases

  • 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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mifare-classic-formatcliglobal executable
mifare-classic-read-ndefcliglobal executable
mifare-classic-write-ndefcliglobal executable
mifare-desfire-accesscliglobal executable
mifare-desfire-create-ndefcliglobal executable
mifare-desfire-ev1-configure-atscliglobal executable
mifare-desfire-ev1-configure-default-keycliglobal executable
mifare-desfire-ev1-configure-random-uidcliglobal executable
mifare-desfire-formatcliglobal executable
mifare-desfire-infocliglobal executable
mifare-desfire-read-ndefcliglobal executable
mifare-desfire-write-ndefcliglobal executable
mifare-ultralight-infocliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.4.0
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:libfreefare
Version0.4.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libfreefare
Homepagehttps://github.com/nfc-tools/libfreefare
Repositoryhttps://github.com/nfc-tools/libfreefare
Upstream docshttps://github.com/nfc-tools/libfreefare#readme
LicenseLGPL-3.0-or-later
Source archivehttps://github.com/nfc-tools/libfreefare/releases/download/libfreefare-0.4.0/libfreefare-0.4.0.tar.bz2
Last updated2026-06-19T12:31:50-07:00
Pulseupdated
Dependencieslibnfc, libusb-compat, openssl@3
Build dependenciespkgconf
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libfreefare-bin 0.4.0-2.3+b1

MIFARE card manipulations binaries

https://code.google.com/p/libfreefare/

sudo apt install libfreefare-bin
  • Section: utils
  • Architecture: amd64
  • Source Package: libfreefare
  • 3 dependencies
  • normalized package name match
  • Matched by: Libfreefare
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfreefare-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfreefare-dev 0.4.0-2.3+b1

MIFARE card manipulations library (development files)

https://code.google.com/p/libfreefare/

sudo apt install libfreefare-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libfreefare
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libfreefare
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfreefare-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfreefare-doc 0.4.0-2.3

documentation for libfreefare

https://code.google.com/p/libfreefare/

sudo apt install libfreefare-doc
  • Section: doc
  • Architecture: all
  • Source Package: libfreefare
  • normalized package name match
  • Matched by: Libfreefare
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfreefare-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfreefare0t64 0.4.0-2.3+b1

MIFARE card manipulations library

https://code.google.com/p/libfreefare/

sudo apt install libfreefare0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libfreefare
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libfreefare
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfreefare0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libfreefare

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

libfreefare-bin 0.4.0-2.3build2

MIFARE card manipulations binaries

https://code.google.com/p/libfreefare/

sudo apt install libfreefare-bin
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libfreefare
  • 3 dependencies
  • normalized package name match
  • Matched by: Libfreefare
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfreefare-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libfreefare-dev 0.4.0-2.3build2

MIFARE card manipulations library (development files)

https://code.google.com/p/libfreefare/

sudo apt install libfreefare-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libfreefare
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libfreefare
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfreefare-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libfreefare-doc 0.4.0-2.3build2

documentation for libfreefare

https://code.google.com/p/libfreefare/

sudo apt install libfreefare-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: libfreefare
  • normalized package name match
  • Matched by: Libfreefare
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfreefare-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libfreefare0t64 0.4.0-2.3build2

MIFARE card manipulations library

https://code.google.com/p/libfreefare/

sudo apt install libfreefare0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libfreefare
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libfreefare
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfreefare0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper95%

libfreefare-devel 0.4.0-5.5

Development files for the Mifare card manipulation library

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

sudo zypper install libfreefare-devel
  • License: LGPL-3.0+
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libfreefare
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libfreefare
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libfreefare-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libfreefare-tools 0.4.0-5.5

Tools for Mifare cards

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

sudo zypper install libfreefare-tools
  • License: LGPL-3.0+
  • Category: Hardware/Other
  • Architecture: x86_64
  • Source Package: libfreefare
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libfreefare
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libfreefare-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libfreefare0 0.4.0-5.5

Library for Mifare card manipulations

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

sudo zypper install libfreefare0
  • License: LGPL-3.0+
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libfreefare
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libfreefare
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libfreefare0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment