# 使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, scoop, zypper 安装 geoipupdate

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

## 安装

```sh
sudo av install brew:geoipupdate
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install geoipupdate
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install geoipupdate
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install geoipupdate
```

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

- dnf (92%):

```sh
sudo dnf install geoipupdate
```

  证据: Fedora Rawhide package metadata: geoipupdate from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#geoipupdate
```

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

- pacman (92%):

```sh
sudo pacman -S geoipupdate
```

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

- zypper (92%):

```sh
sudo zypper install geoipupdate
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/geoipupdate
```

  证据: Scoop official bucket manifest trees: bucket/geoipupdate.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:geoipupdate
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/geoipupdate>
- **版本:** 7.1.1
- **来源摘要:** Automatic updates of GeoIP2 and GeoIP Legacy databases
- **主页:** <https://github.com/maxmind/geoipupdate>
- **仓库:** <https://github.com/maxmind/geoipupdate>
- **上游文档:** <https://dev.maxmind.com/geoip/upgrading-geoip-update>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/maxmind/geoipupdate/archive/refs/tags/v7.1.1.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- geoipupdate (cli)
- geoipupdate (别名)

## 构建依赖

- go
- pandoc

## macOS 提供的库

- curl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 7.1.1
- 本地数据: OK
- 上游仓库: https://github.com/maxmind/geoipupdate
- 检测到的最新版本: v7.1.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

GeoIP Update is MaxMind's command-line client for automatically downloading GeoIP and GeoLite binary databases. It is tied to MaxMind's database distribution model: users configure account credentials and edition IDs in `GeoIP.conf`, then run `geoipupdate` manually, from cron, in containers, or through package-manager installs.

### 项目历史

The maintained public repository describes GeoIP Update as code for updating GeoIP databases and records MaxMind copyright beginning in 2018. MaxMind's upgrade documentation says version 4.x, released in 2019, was a rewrite of the older `geoipupdate` codebase while preserving the same core behavior and configuration-file format.

The v4 rewrite added broader platform support, notably Windows, and changed security expectations inherited from older 2.x and 3.x deployments: HTTPS and certificate verification became mandatory, and paid database downloads required both account ID and license key.

### 采用历史

GeoIP Update is the recommended MaxMind path for users of binary GeoIP and GeoLite databases. Official installation instructions cover Linux tarballs, Ubuntu PPA packages, Debian packages, RPM packages, macOS tarballs, Homebrew, Windows zip distributions, Docker, Proto, and Go source installs.

### 使用方式

Practitioners use GeoIP Update to keep local MaxMind binary databases fresh for web analytics, fraud detection, network policy, logging, and geolocation services. The configuration file stores account ID, license key, and edition IDs, and Unix deployments commonly automate the command with cron so local `.mmdb` files are refreshed without application code handling MaxMind download details.

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

For package maintainers, GeoIP Update is a classic operational CLI: the executable is small, but correct packaging depends on default config paths, credential-file handling, cron or service integration, TLS behavior, and platform-specific install conventions. It is also a bridge between package managers and licensed data distribution rather than a normal static data package.

### 时间线

- 2018: The maintained repository records MaxMind copyright beginning in 2018.
- 2019: Version 4.x was released as a rewrite from a modern code base.
- 2024: MaxMind began using R2 presigned URLs for database downloads.

### Related projects

- GeoIP Update belongs to MaxMind's GeoIP and GeoLite ecosystem, alongside MaxMind binary databases, CSV database downloads, Docker images, and the MMDB database format.

### 来源

- <https://dev.maxmind.com/geoip/updating-databases/>
- <https://dev.maxmind.com/geoip/upgrading-geoip-update/>
- <https://github.com/maxmind/geoipupdate>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /usr/local/etc/GeoIP.conf, /etc/GeoIP.conf
- Windows: C:\ProgramData\MaxMind\GeoIPUpdate\GeoIP.conf

## Credential files

- Unix: /usr/local/etc/GeoIP.conf, /etc/GeoIP.conf
- Windows: C:\ProgramData\MaxMind\GeoIPUpdate\GeoIP.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** geoipupdate
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - geoipupdate - 7.1.0-1: normalized package name match | Debian stable package indexes: geoipupdate from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz | MaxMind GeoIP/GeoIP2 database updates | https://dev.maxmind.com/geoip/updating-databases
- Nix - geoipupdate: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/geoipupdate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - geoipupdate - 6.1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: geoipupdate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MaxMind GeoIP/GeoIP2 database updates | https://dev.maxmind.com/geoip/updating-databases
- dnf - geoipupdate - 7.1.1-7.fc44: normalized package name match | Fedora Rawhide package metadata: geoipupdate from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Update GeoIP2 binary databases from MaxMind | https://github.com/maxmind/geoipupdate
- dnf - geoipupdate-cron - 7.1.1-7.fc44: normalized package name match | Fedora Rawhide package metadata: geoipupdate-cron from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Cron job to do weekly updates of GeoIP databases | https://github.com/maxmind/geoipupdate
- pacman - geoipupdate - 7.1.1-1: normalized package name match | Arch Linux sync databases: geoipupdate from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Update GeoIP2 and GeoIP Legacy binary databases from MaxMind | https://github.com/maxmind/geoipupdate
- zypper - geoipupdate - 7.1.1-2.1: normalized package name match | openSUSE Tumbleweed package metadata: geoipupdate from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | GeoIP update client code | https://github.com/maxmind/geoipupdate
- zypper - geoipupdate-legacy - 7.1.1-2.1: normalized package name match | openSUSE Tumbleweed package metadata: geoipupdate-legacy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | GeoIP Lagacy Format Updater | https://github.com/maxmind/geoipupdate
- MacPorts - geoipupdate: normalized package name match | MacPorts ports tree: devel/geoipupdate/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/geoipupdate: normalized package name match | Scoop official bucket manifest trees: bucket/geoipupdate.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pandoc](https://www.automicvault.com/zh-hans/pkg/brew/pandoc/) - Build dependency declared by Homebrew.
- [geoip2fast](https://www.automicvault.com/zh-hans/pkg/brew/geoip2fast/) - Shares av.db curated category or tags: cli, geoip, geolocation, networking.
- [mmdbctl](https://www.automicvault.com/zh-hans/pkg/brew/mmdbctl/) - Shares av.db curated category or tags: cli, geoip, networking.
- [mmdbinspect](https://www.automicvault.com/zh-hans/pkg/brew/mmdbinspect/) - Shares av.db curated category or tags: cli, geoip, networking.
- [activemq](https://www.automicvault.com/zh-hans/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking.
- [adns](https://www.automicvault.com/zh-hans/pkg/brew/adns/) - Shares av.db curated category or tags: cli, networking.
- [aerleon](https://www.automicvault.com/zh-hans/pkg/brew/aerleon/) - Shares av.db curated category or tags: cli, networking.
- [ahcpd](https://www.automicvault.com/zh-hans/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, networking.
- [airshare](https://www.automicvault.com/zh-hans/pkg/brew/airshare/) - Shares av.db curated category or tags: cli, networking.

## Combined YAML source

View the package source record on GitHub. [combined/geoipupdate.yml](https://github.com/automic-vault/db/blob/main/combined/geoipupdate.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
