maxmind /geoipupdate

GeoIP update client code

★ 993⑂ 166👁 33⑃ 443● 144▤ 56
GoApache-2.0Created 2018-07-24
Download: 8.0.08.0.0 ↓8.0.02026-07-10
+0
Daily
993
stars
166
forks
33
watchers
443
prs
144
issues
56
releases

README

GeoIP Update

The GeoIP Update program performs automatic updates of GeoIP and GeoLite binary
databases. CSV databases are _not_ supported.

 Installation

We provide releases for Linux, macOS (darwin), and Windows. Please see the
Releases tab for the latest
release.

After you install GeoIP Update, please refer to our
documentation for
information about configuration.

If you're upgrading from GeoIP Update 3.x, please see our
upgrade guide.

 Installing on Linux via the tarball

Download and extract the appropriate tarball for your system. You will end up
with a directory named something like geoipupdate_5.0.0_linux_amd64 depending
on the version and architecture.

Copy geoipupdate to where you want it to live. To install it to
/usr/local/bin/geoipupdate, run the equivalent of
sudo cp geoipupdate_5.0.0_linux_amd64/geoipupdate /usr/local/bin.

geoipupdate looks for the config file /usr/local/etc/GeoIP.conf by default.

 Installing on Ubuntu via PPA

MaxMind provides a PPA for recent versions of Ubuntu. To add the PPA to your
sources, run:


$ sudo add-apt-repository ppa:maxmind/ppa


Then install geoipupdate by running:


$ sudo apt update
$ sudo apt install geoipupdate


 Installing on Ubuntu or Debian via the deb

You can also use the tarball.

Download the appropriate .deb for your system.

Run dpkg -i path/to/geoipupdate_5.0.0_linux_amd64.deb (replacing the version
number and architecture as necessary). You will need to be root. For Ubuntu you
can prefix the command with sudo. This will install geoipupdate to
/usr/bin/geoipupdate.

geoipupdate looks for the config file /etc/GeoIP.conf by default.

 Installing on RedHat or CentOS via the rpm

You can also use the tarball.

Download the appropriate .rpm for your system.

Run rpm -Uvhi path/to/geoipupdate_5.0.0_linux_amd64.rpm (replacing the version
number and architecture as necessary). You will need to be root. This will
install geoipupdate to /usr/bin/geoipupdate.

geoipupdate looks for the config file /etc/GeoIP.conf by default.

 Installing on macOS (darwin) via the tarball

This is the same as installing on Linux via the tarball, except choose a tarball
with "darwin" in the name.

 Installing on macOS via Homebrew

If you are on macOS and you have Homebrew you can install
geoipupdate via brew


$ brew install geoipupdate


 Installing on Windows

Download and extract the appropriate zip for your system. You will end up with a
directory named something like geoipupdate_5.0.0_windows_amd64 depending on
the version and architecture.

Copy geoipupdate.exe to where you want it to live.

geoipupdate looks for the config file
\ProgramData\MaxMind\GeoIPUpdate\GeoIP.conf on your system drive by default.

 Installing via Docker

Please see our Docker documentation.

 Installing via Proto

To install with the Proto toolchain manager, run:

shell
$ proto plugin add geoipupdate "https://raw.githubusercontent.com/maxmind/geoipupdate/refs/heads/main/proto.yaml"
proto install geoipupdate


 Installation f

Top issues

Latest release

8.0.0 v8.0.0 2026-07-10
- BREAKING CHANGE: geoipupdate stops updating on the first error.
- A config file can now be used to configure the Docker image. This was
  documented but was not functional. Fixed by Shizun Ge. GitHub 433.
- NewUpdater in the unexported internal/geoipupdate package no longer
  mutates http.DefaultTransport when a proxy is configured. The CLI is the
  only caller, so there is no user-visible behavior change. Reported by B.
  Conners. GitHub 488.
- Do not retry proxy CONNECT 4xx errors. These are now treated as permanent
  failures.

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON