# lensfun を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

lensfun のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:lensfun
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lensfun
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lensfun
```

  証拠: MacPorts ports tree: graphics/lensfun/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lensfun
```

  証拠: Alpine Linux edge package indexes: lensfun from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install liblensfun-bin
```

  証拠: Debian stable package indexes: liblensfun-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lensfun
```

  証拠: Fedora Rawhide package metadata: lensfun from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lensfun
```

  証拠: nixpkgs package indexes: pkgs/by-name/le/lensfun/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lensfun
```

  証拠: Arch Linux sync databases: lensfun from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lensfun-data
```

  証拠: openSUSE Tumbleweed package metadata: lensfun-data from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:lensfun
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/lensfun>
- **バージョン:** 0.3.4
- **ソース概要:** Remove defects from digital images
- **ホームページ:** <https://lensfun.github.io/>
- **リポジトリ:** <https://github.com/lensfun/lensfun>
- **上流ドキュメント:** <https://lensfun.github.io/>
- **ライセンス:** LGPL-3.0-only AND GPL-3.0-only AND CC-BY-3.0 AND LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://github.com/lensfun/lensfun/archive/refs/tags/v0.3.4.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- g-lensfun-update-data (cli)
- lensfun-add-adapter (cli)
- lensfun-update-data (cli)
- lenstool (cli)
- g-lensfun-update-data (エイリアス)
- lensfun-add-adapter (エイリアス)
- lensfun-update-data (エイリアス)
- lenstool (エイリアス)

## 依存関係

- gettext
- glib
- libpng
- python@3.14

## ビルド依存関係

- cmake
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.3.4
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/lensfun/lensfun
- 検出された最新: v0.3.4 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://github.com/lensfun/lensfun>
- <https://lensfun.github.io/news/>
- <https://lensfun.github.io/usage/>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lensfun
- **Version Scheme:** 1
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - liblensfun-bin - 0.3.4-1+b3: normalized package name match | Debian stable package indexes: liblensfun-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lens Correction library - Utilities | https://lensfun.github.io/
- Debian apt - liblensfun-data-v1 - 0.3.4-1: normalized package name match | Debian stable package indexes: liblensfun-data-v1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lens Correction library - Data | https://lensfun.github.io/
- Debian apt - liblensfun-dev - 0.3.4-1+b3: normalized package name match | Debian stable package indexes: liblensfun-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lens Correction library - Development files | https://lensfun.github.io/
- Debian apt - liblensfun-doc - 0.3.4-1: normalized package name match | Debian stable package indexes: liblensfun-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lens Correction library - Documentation | https://lensfun.github.io/
- Debian apt - liblensfun1 - 0.3.4-1+b3: normalized package name match | Debian stable package indexes: liblensfun1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lens Correction library - Runtime files | https://lensfun.github.io/
- Debian apt - python3-lensfun - 0.3.4-1+b3: normalized package name match | Debian stable package indexes: python3-lensfun from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lens Correction library - Python3 module | https://lensfun.github.io/
- Nix - lensfun: normalized package name match | nixpkgs package indexes: pkgs/by-name/le/lensfun/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblensfun-bin - 0.3.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: liblensfun-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lens Correction library - Utilities | https://lensfun.github.io/
- Ubuntu apt - liblensfun-data-v1 - 0.3.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: liblensfun-data-v1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lens Correction library - Data | https://lensfun.github.io/
- Ubuntu apt - liblensfun-dev - 0.3.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: liblensfun-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lens Correction library - Development files | https://lensfun.github.io/
- Ubuntu apt - liblensfun-doc - 0.3.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: liblensfun-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lens Correction library - Documentation | https://lensfun.github.io/
- Ubuntu apt - liblensfun1 - 0.3.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: liblensfun1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lens Correction library - Runtime files | https://lensfun.github.io/
- Ubuntu apt - python3-lensfun - 0.3.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-lensfun from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lens Correction library - Python3 module | https://lensfun.github.io/
- apk - lensfun - 0.3.4-r2: normalized package name match | Alpine Linux edge package indexes: lensfun from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Image manipulation library to rectify lens defects | https://lensfun.github.io/
- apk - lensfun-dev - 0.3.4-r2: normalized package name match | Alpine Linux edge package indexes: lensfun-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Image manipulation library to rectify lens defects (development files) | https://lensfun.github.io/
- apk - lensfun-doc - 0.3.4-r2: normalized package name match | Alpine Linux edge package indexes: lensfun-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Image manipulation library to rectify lens defects (documentation) | https://lensfun.github.io/


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gettext](https://www.automicvault.com/ja/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/ja/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [libpng](https://www.automicvault.com/ja/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/ja/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/ja/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dcraw](https://www.automicvault.com/ja/pkg/brew/dcraw/) - Shares av.db curated category or tags: cli, media, photography.
- [dnglab](https://www.automicvault.com/ja/pkg/brew/dnglab/) - Shares av.db curated category or tags: cli, media, photography.
- [gphoto2](https://www.automicvault.com/ja/pkg/brew/gphoto2/) - Shares av.db curated category or tags: cli, media, photography.
- [gphotos-uploader-cli](https://www.automicvault.com/ja/pkg/brew/gphotos-uploader-cli/) - Shares av.db curated category or tags: cli, media, photography.
- [libpano](https://www.automicvault.com/ja/pkg/brew/libpano/) - Shares av.db curated category or tags: cli, image-processing, media, photography.
- [babl](https://www.automicvault.com/ja/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/ja/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [camellia](https://www.automicvault.com/ja/pkg/brew/camellia/) - Shares av.db curated category or tags: cli, image-processing, media.
- [openimageio](https://www.automicvault.com/ja/pkg/brew/openimageio/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, image, image-processing, images, libpng.
- [vips](https://www.automicvault.com/ja/pkg/brew/vips/) - Both packages work with overlapping file formats or content types. Shared terms: cli, gettext, glib, image, image-processing.
- [gd](https://www.automicvault.com/ja/pkg/brew/gd/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, images, libpng.

## Combined YAML source

View the package source record on GitHub. [combined/lensfun.yml](https://github.com/automic-vault/db/blob/main/combined/lensfun.yml)


## ソース

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