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

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

## 安装

```sh
sudo av install brew:shapelib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shapelib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install shapelib
```

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

### Linux

- apk (92%):

```sh
sudo apk add shapelib
```

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

- Debian apt (92%):

```sh
sudo apt install shapelib
```

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

- dnf (92%):

```sh
sudo dnf install shapelib
```

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

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

- pacman (92%):

```sh
sudo pacman -S shapelib
```

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

- zypper (92%):

```sh
sudo zypper install shapelib
```

  证据: openSUSE Tumbleweed package metadata: shapelib from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:shapelib
- **软件包管理器:** Homebrew
- **版本:** 1.6.3
- **来源摘要:** Library for reading and writing ArcView Shapefiles
- **主页:** <http://shapelib.maptools.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- Shape_PointInPoly (别名)
- csv2shp (别名)
- dbfadd (别名)
- dbfcat (别名)
- dbfcreate (别名)
- dbfdump (别名)
- dbfinfo (别名)
- shpadd (别名)
- shpcat (别名)
- shpcentrd (别名)
- shpcreate (别名)
- shpdata (别名)
- shpdump (别名)
- shpdxf (别名)
- shpfix (别名)
- shpinfo (别名)
- shprewind (别名)
- shpsort (别名)
- shptreedump (别名)
- shpwkb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.6.3

## 安全说明

library-like package without higher-risk signals.

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

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

- Debian apt - libshp-dev - 1.6.1-1: normalized package name match | Debian stable package indexes: libshp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for reading and writing ESRI Shapefiles - development files | http://shapelib.maptools.org/
- Debian apt - libshp4 - 1.6.1-1: normalized package name match | Debian stable package indexes: libshp4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for reading and writing ESRI Shapefiles | http://shapelib.maptools.org/
- Debian apt - shapelib - 1.6.1-1: normalized package name match | Debian stable package indexes: shapelib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for reading and writing ESRI Shapefiles - tools | http://shapelib.maptools.org/
- Nix - shapelib: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shapelib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libshp-dev - 1.6.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libshp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for reading and writing ESRI Shapefiles - development files | http://shapelib.maptools.org/
- Ubuntu apt - libshp4 - 1.6.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libshp4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for reading and writing ESRI Shapefiles | http://shapelib.maptools.org/
- Ubuntu apt - shapelib - 1.6.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: shapelib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for reading and writing ESRI Shapefiles - tools | http://shapelib.maptools.org/
- apk - shapelib - 1.6.2-r0: normalized package name match | Alpine Linux edge package indexes: shapelib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for reading, writing and updating ESRI Shapefiles, and the associated attribute file | http://shapelib.maptools.org/
- apk - shapelib-dev - 1.6.2-r0: normalized package name match | Alpine Linux edge package indexes: shapelib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for reading, writing and updating ESRI Shapefiles, and the associated attribute file (development files) | http://shapelib.maptools.org/
- apk - shapelib-tools - 1.6.2-r0: normalized package name match | Alpine Linux edge package indexes: shapelib-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for reading, writing and updating ESRI Shapefiles, and the associated attribute file (utilities) | http://shapelib.maptools.org/
- dnf - mingw32-shapelib - 1.6.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-shapelib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows shapelib library | http://shapelib.maptools.org/
- dnf - mingw32-shapelib-tools - 1.6.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-shapelib-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 shapelib library | http://shapelib.maptools.org/
- dnf - mingw64-shapelib - 1.6.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-shapelib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW Windows shapelib library | http://shapelib.maptools.org/
- dnf - mingw64-shapelib-tools - 1.6.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-shapelib-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 shapelib library | http://shapelib.maptools.org/
- dnf - shapelib - 1.6.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: shapelib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C library for handling ESRI Shapefiles | http://shapelib.maptools.org/
- dnf - shapelib-devel - 1.6.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: shapelib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for shapelib | http://shapelib.maptools.org/


## Combined YAML source

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


## 来源

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