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

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

## インストール

```sh
sudo av install brew:flann
```

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

### macOS

- Homebrew (100%):

```sh
brew install flann
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install flann
```

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

### Linux

- apk (92%):

```sh
sudo apk add flann
```

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

- dnf (92%):

```sh
sudo dnf install flann
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#flann
```

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

- pacman (92%):

```sh
sudo pacman -S flann
```

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

- Debian apt (92%):

```sh
sudo apt install flann-doc
```

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

- zypper (92%):

```sh
sudo zypper install flann-devel
```

  証拠: openSUSE Tumbleweed package metadata: flann-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:flann
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.9.2
- **ソース概要:** Fast Library for Approximate Nearest Neighbors
- **ホームページ:** <https://github.com/flann-lib/flann>
- **リポジトリ:** <https://github.com/flann-lib/flann>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- flann_example_c (エイリアス)
- flann_example_cpp (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.9.2
## プロジェクトの歴史と使われ方

FLANN, the Fast Library for Approximate Nearest Neighbors, is a C++ library for fast approximate nearest-neighbor search in high-dimensional spaces. Its README describes both a collection of nearest-neighbor algorithms and automatic selection of an algorithm and parameters for a given dataset.

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

The public repository history begins in 2007, and the project was documented academically in the 2009 Muja and Lowe VISAPP paper on automatic algorithm configuration for approximate nearest neighbors. The project later exposed C, MATLAB, Python, and Ruby bindings around the C++ implementation, making the research code useful as a packaged native library rather than only as an experiment.

### 採用の歴史

FLANN became a common dependency in scientific, machine-learning, and computer-vision packaging because it provides a reusable native nearest-neighbor engine with bindings. Homebrew packages it as a formula, while the official README points users to release archives and source checkout for development.

### 使われ方

Users bring FLANN into applications that need approximate nearest-neighbor lookup over feature vectors or other high-dimensional data. The bundled package executables are examples; the main package value is the library and its language bindings.

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

FLANN is package-nerd interesting because it is classic research software that became infrastructure: a C++ core, language bindings, release archives, example binaries, and packaging concerns around native builds rather than a single end-user CLI.

### タイムライン

- 2007: Initial public repository import.
- 2009: Muja and Lowe publish the FLANN algorithm-configuration paper.
- 2012: 1.8.0 source tag appears in the public git history.
- 2021: 1.9.2 tag appears in the public git history.

### Related projects

- The official README ties FLANN to its C, MATLAB, Python, and Ruby bindings, and to approximate nearest-neighbor research rather than to a single desktop application.

### ソース

- <https://formulae.brew.sh/formula/flann>
- <https://github.com/flann-lib/flann>
- <https://raw.githubusercontent.com/flann-lib/flann/master/README.md>
- <https://www.cs.ubc.ca/research/flann/uploads/FLANN/flann_visapp09.pdf>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

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

- Debian apt - flann-doc - 1.9.2+dfsg-2: normalized package name match | Debian stable package indexes: flann-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast Library for Approximate Nearest Neighbors - documentation | http://www.cs.ubc.ca/research/flann/
- Debian apt - libflann-dev - 1.9.2+dfsg-2+b2: normalized package name match | Debian stable package indexes: libflann-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast Library for Approximate Nearest Neighbors - development | http://www.cs.ubc.ca/research/flann/
- Debian apt - libflann1.9 - 1.9.2+dfsg-2+b2: normalized package name match | Debian stable package indexes: libflann1.9 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fast Library for Approximate Nearest Neighbors - runtime | http://www.cs.ubc.ca/research/flann/
- Nix - flann: normalized package name match | nixpkgs package indexes: pkgs/by-name/fl/flann/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - flann-doc - 1.9.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: flann-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast Library for Approximate Nearest Neighbors - documentation | http://www.cs.ubc.ca/research/flann/
- Ubuntu apt - libflann-dev - 1.9.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libflann-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast Library for Approximate Nearest Neighbors - development | http://www.cs.ubc.ca/research/flann/
- Ubuntu apt - libflann1.9 - 1.9.2+dfsg-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libflann1.9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fast Library for Approximate Nearest Neighbors - runtime | http://www.cs.ubc.ca/research/flann/
- apk - flann - 1.9.2-r1: normalized package name match | Alpine Linux edge package indexes: flann from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast Library for Approximate Nearest Neighbors | https://github.com/flann-lib/flann
- apk - flann-dev - 1.9.2-r1: normalized package name match | Alpine Linux edge package indexes: flann-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast Library for Approximate Nearest Neighbors (development files) | https://github.com/flann-lib/flann
- apk - flann-doc - 1.9.2-r1: normalized package name match | Alpine Linux edge package indexes: flann-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast Library for Approximate Nearest Neighbors (documentation) | https://github.com/flann-lib/flann
- dnf - flann - 1.9.2-18.fc45: normalized package name match | Fedora Rawhide package metadata: flann from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Fast Library for Approximate Nearest Neighbors | http://www.cs.ubc.ca/research/flann
- dnf - flann-devel - 1.9.2-18.fc45: normalized package name match | Fedora Rawhide package metadata: flann-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development headers and libraries for flann | http://www.cs.ubc.ca/research/flann
- dnf - flann-static - 1.9.2-18.fc45: normalized package name match | Fedora Rawhide package metadata: flann-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Static libraries for flann | http://www.cs.ubc.ca/research/flann
- dnf - python3-flann - 1.9.2-18.fc45: normalized package name match | Fedora Rawhide package metadata: python3-flann from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python bindings for flann | http://www.cs.ubc.ca/research/flann
- pacman - flann - 1.9.2-7: normalized package name match | Arch Linux sync databases: flann from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A library for performing fast approximate nearest neighbor searches in high dimensional spaces | https://github.com/flann-lib/flann
- zypper - flann-devel - 1.9.2-3.12: normalized package name match | openSUSE Tumbleweed package metadata: flann-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for flann | https://www.cs.ubc.ca/research/flann/


## Combined YAML source

View the package source record on GitHub. [combined/flann.yml](https://github.com/mxcl/pkgdb/blob/main/combined/flann.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
