Automic VaultAutomic Vault

brew

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

Fast Library for Approximate Nearest Neighbors. Version 1.9.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install flann

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install flann

MacPorts ports tree · science/flann/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add flann

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

Debian aptverified · 92%
sudo apt install flann-doc

Debian stable package indexes · flann-doc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install flann

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

Nixverified · 92%
nix profile install nixpkgs#flann

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

Arch Linux pacmanverified · 92%
sudo pacman -S flann

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

openSUSE zypperverified · 92%
sudo zypper install flann-devel

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

overview

Package summary

Fast Library for Approximate Nearest Neighbors

Commands and aliases

  • flann_example_c
  • flann_example_cpp

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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 6 platform targets.
  • Installs with 2 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
flann_example_ccliglobal executable
flann_example_cppcliglobal 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 version1.9.2
manager updated
local dataok
upstreamcurrent
latest detected1.9.2

https://github.com/flann-lib/flann

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

install metadata

Package metadata

Package keybrew:flann
Version1.9.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/flann
Homepagehttps://github.com/flann-lib/flann
Repositoryhttps://github.com/flann-lib/flann
Upstream docshttps://github.com/flann-lib/flann#readme
LicenseBSD-3-Clause
Source archivehttps://github.com/flann-lib/flann/archive/refs/tags/1.9.2.tar.gz
Dependencieshdf5, lz4
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 Nameflann
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%

flann-doc 1.9.2+dfsg-2

Fast Library for Approximate Nearest Neighbors - documentation

http://www.cs.ubc.ca/research/flann/

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

libflann-dev 1.9.2+dfsg-2+b2

Fast Library for Approximate Nearest Neighbors - development

http://www.cs.ubc.ca/research/flann/

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

libflann1.9 1.9.2+dfsg-2+b2

Fast Library for Approximate Nearest Neighbors - runtime

http://www.cs.ubc.ca/research/flann/

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

flann

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

flann-doc 1.9.2+dfsg-2build1

Fast Library for Approximate Nearest Neighbors - documentation

http://www.cs.ubc.ca/research/flann/

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

libflann-dev 1.9.2+dfsg-2build1

Fast Library for Approximate Nearest Neighbors - development

http://www.cs.ubc.ca/research/flann/

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

libflann1.9 1.9.2+dfsg-2build1

Fast Library for Approximate Nearest Neighbors - runtime

http://www.cs.ubc.ca/research/flann/

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

flann 1.9.2-r1

Fast Library for Approximate Nearest Neighbors

https://github.com/flann-lib/flann

sudo apk add flann
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: flann
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Flann
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flann from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

flann-dev 1.9.2-r1

Fast Library for Approximate Nearest Neighbors (development files)

https://github.com/flann-lib/flann

sudo apk add flann-dev
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: flann
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Flann
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flann-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

flann-doc 1.9.2-r1

Fast Library for Approximate Nearest Neighbors (documentation)

https://github.com/flann-lib/flann

sudo apk add flann-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: flann
  • normalized package name match
  • Matched by: Flann
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flann-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

flann 1.9.2-16.fc45

Fast Library for Approximate Nearest Neighbors

http://www.cs.ubc.ca/research/flann

sudo dnf install flann
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: flann
  • 7 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Flann
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flann from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

flann-devel 1.9.2-16.fc45

Development headers and libraries for flann

http://www.cs.ubc.ca/research/flann

sudo dnf install flann-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: flann
  • 9 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Flann
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flann-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

flann-static 1.9.2-16.fc45

Static libraries for flann

http://www.cs.ubc.ca/research/flann

sudo dnf install flann-static
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: flann
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Flann
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: flann-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-flann 1.9.2-16.fc45

Python bindings for flann

http://www.cs.ubc.ca/research/flann

sudo dnf install python3-flann
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: flann
  • 3 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Flann
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-flann from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

flann 1.9.2-7

A library for performing fast approximate nearest neighbor searches in high dimensional spaces

https://github.com/flann-lib/flann

sudo pacman -S flann
  • License: BSD
  • Architecture: x86_64
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Flann
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: flann from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

flann-devel 1.9.2-3.10

Development files for flann

https://www.cs.ubc.ca/research/flann/

sudo zypper install flann-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: flann
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Flann
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: flann-devel 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