# 使用 Homebrew, apk, dnf, MacPorts, Nix, apt 安装 librasterlite2

查看 librasterlite2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:librasterlite2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install librasterlite2
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install librasterlite2
```

  证据: MacPorts ports tree: databases/librasterlite2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add librasterlite2
```

  证据: Alpine Linux edge package indexes: librasterlite2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install librasterlite2
```

  证据: Fedora Rawhide package metadata: librasterlite2 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#librasterlite2
```

  证据: nixpkgs package indexes: pkgs/by-name/li/librasterlite2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install librasterlite2-1
```

  证据: Debian stable package indexes: librasterlite2-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:librasterlite2
- **软件包管理器:** Homebrew
- **版本:** 1.1.0-beta1
- **来源摘要:** Library to store and retrieve huge raster coverages
- **主页:** <https://www.gaia-gis.it/fossil/librasterlite2/index>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- rl2sniff (别名)
- rl2tool (别名)
- wmslite (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.1.0-beta1
## 项目历史与用法

librasterlite2 is a Gaia-SINS geospatial library for storing and retrieving large raster coverages inside SpatiaLite databases.

### 项目历史

The Gaia-GIS project describes librasterlite2 as a new project intended to replace the older librasterlite while sharing only the same application area. It keeps raster coverages in a SpatiaLite DBMS and ships tools such as rl2tool and wmslite for administration and WMS-oriented access.

RasterLite2 1.0.0 development was funded by Tuscany Region's territorial and environmental information system work, linking the package to regional GIS infrastructure rather than to a generic image-processing library. The project is maintained in a Fossil repository alongside other Gaia-GIS components.

### 采用历史

librasterlite2 spread mainly through geospatial packaging stacks where SpatiaLite, GDAL-adjacent tooling, and desktop GIS utilities are packaged together. The input package-manager metadata lists Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, and Ubuntu, which matches its role as infrastructure for GIS users rather than a standalone end-user application.

### 使用方式

Users work with the package through the C library and helper programs such as rl2tool, rl2sniff, and wmslite. The official tutorials show RasterLite2 databases as full SpatiaLite database files and demonstrate raster coverage creation, import, pyramids, styling, and WMS access.

### 为什么软件包爱好者会关心

librasterlite2 is package-nerd significant because it is a specialized spatial database extension that turns heavyweight raster management into normal SQLite/SpatiaLite files. It is also a good example of a small upstream ecosystem using Fossil, tri-licensed libraries, and separate GPL tools.

### 时间线

- 2013: The older librasterlite page marked librasterlite as obsolete and directed users to librasterlite2.
- 2014: RasterLite2 tutorials and project artifacts documented 1.0.0 release-candidate workflows.
- 2017: The Fossil timeline records API changes for reading coverages from attached databases and MapView/spatialite_gui support.
- 2018: Development resumed for the 1.1.0-beta0 cycle.
- 2020: The project page listed 1.1.0-beta1 released on 2020-08-24.
- 2023: The Fossil timeline records trusted_schema and SQLITE_INNOCUOUS support work.

### Related projects

- The project is tightly related to libspatialite, spatialite_gui, SQLite, GDAL-style raster workflows, the superseded librasterlite project, and Gaia-SINS geospatial tooling.

### 来源

- <https://formulae.brew.sh/formula/librasterlite2>
- <https://www.gaia-gis.it/fossil/librasterlite/index>
- <https://www.gaia-gis.it/fossil/librasterlite2/index>
- <https://www.gaia-gis.it/fossil/librasterlite2/timeline>
- <https://www.gaia-gis.it/fossil/librasterlite2/wiki?name=planetEarth>
- <https://www.gaia-gis.it/fossil/libspatialite/index>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - librasterlite2-1 - 1.1.0~beta1-4: normalized package name match | Debian stable package indexes: librasterlite2-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for huge raster coverages using a SpatiaLite DBMS | https://www.gaia-gis.it/fossil/librasterlite2/
- Debian apt - librasterlite2-dev - 1.1.0~beta1-4: normalized package name match | Debian stable package indexes: librasterlite2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for huge raster coverages using a SpatiaLite DBMS - headers | https://www.gaia-gis.it/fossil/librasterlite2/
- Debian apt - libsqlite3-mod-rasterlite2 - 1.1.0~beta1-4: normalized package name match | Debian stable package indexes: libsqlite3-mod-rasterlite2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SQLite 3 module for huge raster coverages | https://www.gaia-gis.it/fossil/librasterlite2/
- Debian apt - rasterlite2-bin - 1.1.0~beta1-4: normalized package name match | Debian stable package indexes: rasterlite2-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line tools for librasterlite2 | https://www.gaia-gis.it/fossil/librasterlite2/
- Nix - librasterlite2: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/librasterlite2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - librasterlite2-1 - 1.1.0~beta1-3build5: normalized package name match | Ubuntu 24.04 LTS package indexes: librasterlite2-1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for huge raster coverages using a SpatiaLite DBMS | https://www.gaia-gis.it/fossil/librasterlite2/
- Ubuntu apt - librasterlite2-dev - 1.1.0~beta1-3build5: normalized package name match | Ubuntu 24.04 LTS package indexes: librasterlite2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for huge raster coverages using a SpatiaLite DBMS - headers | https://www.gaia-gis.it/fossil/librasterlite2/
- Ubuntu apt - libsqlite3-mod-rasterlite2 - 1.1.0~beta1-3build5: normalized package name match | Ubuntu 24.04 LTS package indexes: libsqlite3-mod-rasterlite2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SQLite 3 module for huge raster coverages | https://www.gaia-gis.it/fossil/librasterlite2/
- Ubuntu apt - rasterlite2-bin - 1.1.0~beta1-3build5: normalized package name match | Ubuntu 24.04 LTS package indexes: rasterlite2-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line tools for librasterlite2 | https://www.gaia-gis.it/fossil/librasterlite2/
- apk - librasterlite2 - 1.1.0_beta1-r7: normalized package name match | Alpine Linux edge package indexes: librasterlite2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for storing and retrieving huge raster coverages using a SpatiaLite DBMS | https://www.gaia-gis.it/fossil/librasterlite2/index
- apk - librasterlite2-dev - 1.1.0_beta1-r7: normalized package name match | Alpine Linux edge package indexes: librasterlite2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for storing and retrieving huge raster coverages using a SpatiaLite DBMS (development files) | https://www.gaia-gis.it/fossil/librasterlite2/index
- dnf - librasterlite2 - 1.1.0-0.22.beta1.fc45: normalized package name match | Fedora Rawhide package metadata: librasterlite2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Stores and retrieves huge raster coverages using a SpatiaLite DBMS | https://www.gaia-gis.it/fossil/librasterlite2
- dnf - librasterlite2-devel - 1.1.0-0.22.beta1.fc45: normalized package name match | Fedora Rawhide package metadata: librasterlite2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development libraries and headers for librasterlite2 | https://www.gaia-gis.it/fossil/librasterlite2
- dnf - librasterlite2-tools - 1.1.0-0.22.beta1.fc45: normalized package name match | Fedora Rawhide package metadata: librasterlite2-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for librasterlite2 | https://www.gaia-gis.it/fossil/librasterlite2
- MacPorts - librasterlite2: normalized package name match | MacPorts ports tree: databases/librasterlite2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/librasterlite2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/librasterlite2.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
