libspatialite

Install command:
brew install libspatialite

Adds spatial SQL capabilities to SQLite

https://www.gaia-gis.it/fossil/libspatialite/index

License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later

Development: Pull requests

Formula JSON API: /api/formula/libspatialite.json

Formula code: libspatialite.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.1.0
head ⚡️ HEAD

Revision: 4

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/libtool/configure-big_sur.diff
https://salsa.debian.org/debian-gis-team/spatialite/-/raw/38481157178415322d78a3a45dab18f0c1d45daa/debian/patches/libxml2-nanohttp.patch

Depends on:

freexl 2.0.0 Library to extract data from Excel .xls files
geos 3.15.1 Geometry Engine
librttopo 1.1.0 RT Topology Library
libxml2 2.15.4 GNOME XML library
minizip 1.4 C library for zip/unzip via zLib
proj 9.9.0 Cartographic Projections Library
sqlite 3.54.1 Command-line interface for SQLite

Depends on when building from source:

pkgconf 3.0.11 Package compiler and linker metadata toolkit

GitHub Packages downloads:

Last 30 days46,950
Downloads2,922,559
Analytics install events (30 days)2,847
Downloads / install events (30 days)16.5×

Source: GitHub Packages, fetched 2026-12-06T00:57:02Z. Analytics dates: 2026-11-06 to 2026-12-06. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs2,8457,43047,599
Installs (--HEAD)2417
Installs on Request3751,43411,493
Installs on Request (--HEAD)007
Build Errors0