Automic VaultAutomic Vault

brew

Install lensfun with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Remove defects from digital images. Version 0.3.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lensfun

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install lensfun

MacPorts ports tree · graphics/lensfun/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add lensfun

Alpine Linux edge package indexes · lensfun · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install liblensfun-bin

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

Fedora dnfverified · 92%
sudo dnf install lensfun

Fedora Rawhide package metadata · lensfun · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lensfun

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

Arch Linux pacmanverified · 92%
sudo pacman -S lensfun

Arch Linux sync databases · lensfun · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install lensfun-data

openSUSE Tumbleweed package metadata · lensfun-data · source: download.opensuse.org

overview

Package summary

Remove defects from digital images

Commands and aliases

  • g-lensfun-update-data
  • lensfun-add-adapter
  • lensfun-update-data
  • lenstool

history

Project history and usage

Lensfun is a library and open lens-profile database for correcting photographic lens defects such as distortion, lateral chromatic aberration, and vignetting.

Project history

The Lensfun project says it was started by Andrew Zabolotny in 2007 to create a free and open source database for correcting photographic lens errors. The README explains that the database grew from an earlier public PTLens database, with permission from the PTLens author, while Lensfun's code was rewritten from scratch and the data was converted to a new XML-based format.

Project maintenance shifted in 2012, when Torsten Bronger described taking over maintenance after fixes and database updates had stalled. The focus after that was continuous integration of submitted profiles and regular releases so application users could get updated camera and lens data.

Adoption history

Lensfun's adoption is tied to desktop photo and raw-processing software. The project documentation describes Lensfun itself as a library and database, with actual image correction normally happening through applications that integrate it.

Its packaging spread reflects that role: distributions ship both the runtime library/database and helper tools so photo applications can use a shared correction database instead of maintaining their own lens profiles.

How it is used

Applications query Lensfun's camera and lens database, then apply correction algorithms based on the matched equipment profile. The project also ships tools such as lensfun-update-data and lenstool for maintaining or testing the database outside a larger photo application.

Why package nerds care

Lensfun matters to package nerds because it is shared data infrastructure: one small package can improve lens correction across many photography applications. Its database-updater commands also make the package unusually data-centric for a C/C++ media library.

Timeline

  • 2007: Andrew Zabolotny started Lensfun as a free and open source lens-correction database.
  • 2012: Torsten Bronger took over maintenance and emphasized integrating submitted profiles and releasing updated data.
  • 2022: Release 0.3.3 updated the 0.3.x branch with camera and lens data through February 22, 2022.
  • 2023: Release 0.3.4 updated the 0.3.x branch with camera and lens data through July 12, 2023.

Related projects

  • PTLens supplied the public database seed that Lensfun converted and extended.
  • Photo applications with Lensfun support are the main consumers of the library and database.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 2 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
g-lensfun-update-datacliglobal executable
lensfun-add-adaptercliglobal executable
lensfun-update-datacliglobal executable
lenstoolcliglobal 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.3.4
manager updated
local dataok
upstreamcurrent
latest detectedv0.3.4

https://github.com/lensfun/lensfun

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:lensfun
Version0.3.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lensfun
Homepagehttps://lensfun.github.io/
Repositoryhttps://github.com/lensfun/lensfun
Upstream docshttps://lensfun.github.io/
LicenseLGPL-3.0-only AND GPL-3.0-only AND CC-BY-3.0 AND LicenseRef-Homebrew-public-domain
Source archivehttps://github.com/lensfun/lensfun/archive/refs/tags/v0.3.4.tar.gz
Dependenciesgettext, glib, libpng, python@3.14
Build dependenciescmake, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelensfun
Version Scheme1
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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%

liblensfun-bin 0.3.4-1+b3

Lens Correction library - Utilities

https://lensfun.github.io/

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

liblensfun-data-v1 0.3.4-1

Lens Correction library - Data

https://lensfun.github.io/

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

liblensfun-dev 0.3.4-1+b3

Lens Correction library - Development files

https://lensfun.github.io/

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

liblensfun-doc 0.3.4-1

Lens Correction library - Documentation

https://lensfun.github.io/

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

liblensfun1 0.3.4-1+b3

Lens Correction library - Runtime files

https://lensfun.github.io/

sudo apt install liblensfun1
  • Section: libs
  • Architecture: amd64
  • Source Package: lensfun
  • 5 dependencies
  • normalized package name match
  • Matched by: Lensfun
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblensfun1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-lensfun 0.3.4-1+b3

Lens Correction library - Python3 module

https://lensfun.github.io/

sudo apt install python3-lensfun
  • Section: python
  • Architecture: amd64
  • Source Package: lensfun
  • 2 dependencies
  • normalized package name match
  • Matched by: Lensfun
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-lensfun from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lensfun

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

liblensfun-bin 0.3.4-1build2

Lens Correction library - Utilities

https://lensfun.github.io/

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

liblensfun-data-v1 0.3.4-1build2

Lens Correction library - Data

https://lensfun.github.io/

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

liblensfun-dev 0.3.4-1build2

Lens Correction library - Development files

https://lensfun.github.io/

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

liblensfun-doc 0.3.4-1build2

Lens Correction library - Documentation

https://lensfun.github.io/

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

liblensfun1 0.3.4-1build2

Lens Correction library - Runtime files

https://lensfun.github.io/

sudo apt install liblensfun1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: lensfun
  • 5 dependencies
  • normalized package name match
  • Matched by: Lensfun
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblensfun1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-lensfun 0.3.4-1build2

Lens Correction library - Python3 module

https://lensfun.github.io/

sudo apt install python3-lensfun
  • Section: universe/python
  • Architecture: amd64
  • Source Package: lensfun
  • 2 dependencies
  • normalized package name match
  • Matched by: Lensfun
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-lensfun from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lensfun 0.3.4-r2

Image manipulation library to rectify lens defects

https://lensfun.github.io/

sudo apk add lensfun
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lensfun
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lensfun
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lensfun from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lensfun-dev 0.3.4-r2

Image manipulation library to rectify lens defects (development files)

https://lensfun.github.io/

sudo apk add lensfun-dev
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lensfun
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lensfun
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lensfun-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lensfun-doc 0.3.4-r2

Image manipulation library to rectify lens defects (documentation)

https://lensfun.github.io/

sudo apk add lensfun-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lensfun
  • normalized package name match
  • Matched by: Lensfun
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lensfun-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

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