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

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

## 安装

```sh
sudo av install brew:libgeotiff
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libgeotiff
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libgeotiff
```

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

### Linux

- apk (92%):

```sh
sudo apk add libgeotiff
```

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

- dnf (92%):

```sh
sudo dnf install libgeotiff
```

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

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

- pacman (92%):

```sh
sudo pacman -S libgeotiff
```

  证据: Arch Linux sync databases: libgeotiff from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install geotiff-bin
```

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

## 软件包事实

- **软件包键:** brew:libgeotiff
- **软件包管理器:** Homebrew
- **版本:** 1.7.4
- **来源摘要:** Library and tools for dealing with GeoTIFF
- **主页:** <https://github.com/OSGeo/libgeotiff>
- **仓库:** <https://github.com/OSGeo/libgeotiff>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- applygeo (别名)
- geotifcp (别名)
- listgeo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

libgeotiff is the OSGeo library and toolset for reading and writing GeoTIFF metadata inside TIFF files. It is package-significant because GeoTIFF became a standard interchange format for georeferenced raster imagery, and libgeotiff provides the small C-level plumbing used by GIS stacks and command-line data workflows.

### 项目历史

The GeoTIFF format was developed in the early 1990s to add geographic metadata to the mature TIFF image format. OGC records a September 1994 SPOT Image proposal, a November 1995 Revision 1.0 specification by Ritter and Ruth, and a 2000 adjustment to the community specification before OGC GeoTIFF 1.1 formalized the standard.

The OSGeo libgeotiff repository describes the library's job as extracting and parsing GeoTIFF key directories and installing GeoTIFF keys in new files. The project migrated to a GitHub-hosted OSGeo repository while keeping OSGeo Trac and download archives as historical project infrastructure.

### 采用历史

GeoTIFF's adoption came from remote sensing, GIS, cartography, and earth-science users needing a TIFF-compatible exchange format for georeferenced imagery. OGC states that the format is used throughout geospatial and earth-science communities, and libgeotiff follows that usage as a common implementation dependency.

Package managers expose libgeotiff as both a library and CLI utilities such as listgeo, geotifcp, and applygeo. Its downstream footprint is strongest in geospatial stacks that also involve TIFF, PROJ, GDAL, and raster-processing tools.

### 使用方式

Users reach for libgeotiff to inspect, copy, or attach georeferencing keys in TIFF files. The tools are small but durable: listgeo reports GeoTIFF metadata, geotifcp copies georeferencing into new TIFFs, and applygeo applies external metadata.

Developers use the C library when they need direct access to GeoTIFF key directories rather than a full GIS framework. That makes it useful as a dependency under larger geospatial applications and as a command-line diagnostic package.

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

libgeotiff sits at the dependency layer where image codecs meet coordinate-reference metadata. For packagers, that means careful coordination with libtiff, PROJ/EPSG data, and GDAL-like consumers.

Its importance is not flashy application UX but interoperability: if GeoTIFF metadata parsing breaks, many map-processing pipelines fail in ways that look like bad coordinates rather than bad software.

### 时间线

- 1994: SPOT Image Corp proposed an early GeoTIFF structure focused on UTM.
- 1995: Ritter and Ruth formalized GeoTIFF Revision 1.0.
- 2000: Minor adjustments to the community GeoTIFF 1.0 specification were published.
- 2007: OSGeo download archive entries show libgeotiff release artifacts already hosted in the OSGeo geotiff area.
- 2019: OGC GeoTIFF 1.1 documented a minor revision aligned with modern OGC practice and EPSG register changes.

### Related projects

- GeoTIFF depends conceptually on TIFF and coordinate-reference identifiers from the EPSG ecosystem. In practical package graphs it often appears near libtiff, PROJ, GDAL, rasterio, and other geospatial tooling.

### 来源

- <https://docs.ogc.org/is/19-008r4/19-008r4.html>
- <https://download.osgeo.org/geotiff/libgeotiff/>
- <https://formulae.brew.sh/formula/libgeotiff>
- <https://github.com/OSGeo/libgeotiff>
- <https://trac.osgeo.org/geotiff/>
- <https://www.ogc.org/standards/geotiff/>


## 安全说明

library-like package without higher-risk signals.

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

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

- Debian apt - geotiff-bin - 1.7.4-1: normalized package name match | Debian stable package indexes: geotiff-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GeoTIFF (geografic enabled TIFF) library -- tools | https://geotiff.osgeo.org/
- Debian apt - libgeotiff-dev - 1.7.4-1: normalized package name match | Debian stable package indexes: libgeotiff-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GeoTIFF (geografic enabled TIFF) library -- development files | https://geotiff.osgeo.org/
- Debian apt - libgeotiff5 - 1.7.4-1: normalized package name match | Debian stable package indexes: libgeotiff5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GeoTIFF (geografic enabled TIFF) library -- run-time files | https://geotiff.osgeo.org/
- Nix - libgeotiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libgeotiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - geotiff-bin - 1.7.1-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: geotiff-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GeoTIFF (geografic enabled TIFF) library -- tools | https://geotiff.osgeo.org/
- Ubuntu apt - libgeotiff-dev - 1.7.1-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeotiff-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GeoTIFF (geografic enabled TIFF) library -- development files | https://geotiff.osgeo.org/
- Ubuntu apt - libgeotiff5 - 1.7.1-5build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeotiff5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GeoTIFF (geografic enabled TIFF) library -- run-time files | https://geotiff.osgeo.org/
- apk - libgeotiff - 1.7.4-r0: normalized package name match | Alpine Linux edge package indexes: libgeotiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TIFF based interchange format for georeferenced raster imagery | https://trac.osgeo.org/geotiff
- apk - libgeotiff-dev - 1.7.4-r0: normalized package name match | Alpine Linux edge package indexes: libgeotiff-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TIFF based interchange format for georeferenced raster imagery (development files) | https://trac.osgeo.org/geotiff
- apk - libgeotiff-doc - 1.7.4-r0: normalized package name match | Alpine Linux edge package indexes: libgeotiff-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | TIFF based interchange format for georeferenced raster imagery (documentation) | https://trac.osgeo.org/geotiff
- dnf - libgeotiff - 1.7.4-6.fc45: normalized package name match | Fedora Rawhide package metadata: libgeotiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GeoTIFF format library | http://trac.osgeo.org/geotiff/
- dnf - libgeotiff-devel - 1.7.4-6.fc45: normalized package name match | Fedora Rawhide package metadata: libgeotiff-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development library and header for the GeoTIFF file format library | http://trac.osgeo.org/geotiff/
- dnf - mingw32-libgeotiff - 1.7.4-6.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-libgeotiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows libgeotiff library | http://trac.osgeo.org/geotiff/
- dnf - mingw32-libgeotiff-tools - 1.7.4-6.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-libgeotiff-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for the MinGW Windows libgeotiff library | http://trac.osgeo.org/geotiff/
- dnf - mingw64-libgeotiff - 1.7.4-6.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-libgeotiff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows libgeotiff library | http://trac.osgeo.org/geotiff/
- dnf - mingw64-libgeotiff-tools - 1.7.4-6.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-libgeotiff-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for the MinGW Windows libgeotiff library | http://trac.osgeo.org/geotiff/


## Combined YAML source

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