macOS
brew install ip2locationlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ip2location in AI-Agent-Workflows.
Installation
brew install ip2locationlocal Homebrew formula metadata
sudo apk add ip2locationAlpine Linux edge package indexes · ip2location · Quelle: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ip2locationnixpkgs package indexes · pkgs/by-name/ip/ip2location/package.nix · Quelle: api.github.com
sudo dnf install IP2LocationFedora Rawhide package metadata · IP2Location · Quelle: dl.fedoraproject.org
Überblick
C library and CLI to geolocate IP addresses
Verlauf
IP2Location C Library is the C implementation and command-line front end for querying IP2Location BIN geolocation databases. In package-manager terms it is a small native bridge between downloadable IP intelligence data and Unix automation, exposing both a library API and the `ip2location` executable.
The project belongs to IP2Location's family of language libraries for its commercial and LITE geolocation databases. Its README describes lookups for country, region, city, coordinates, postal code, ISP, domain, usage type, address type, IAB category, ASN, and related database fields, with the library reading those values from IP2Location BIN files.
The changelog shows a long 2010s evolution around data-file formats and API breadth: 2013 added memory and cache opening modes, 2014 added IPv6 support, 2016 added lookup support for an index section in a new BIN format, and later releases moved detailed notes to GitHub releases.
The Homebrew formula and other package-manager metadata make the C library easy to install on developer machines and servers that need local IP geolocation without a hosted API call. Its Fedora package links from the upstream README show the project also reaching Linux distribution packaging.
The project is not just a single CLI convenience: related IP2Location modules, such as the Varnish module, depend on the C library as the native lookup layer, which gives the package importance beyond direct command-line use.
Typical usage is to install the library, obtain an IP2Location BIN database, and run `ip2location -d [database] --ip [address]` or feed addresses from a file. Library consumers use the C API where a low-level native geolocation lookup is preferable to shelling out.
The package is useful in log enrichment, local analytics, security tooling, and edge services where repeat geolocation lookups should avoid network latency or third-party API calls.
For package maintainers, IP2Location C Library is a classic data-plus-native-library package: the code is small, the value comes from compatibility with external database files, and downstream packaging must keep the CLI, shared library, sample data, and documentation aligned.
It also illustrates a common Homebrew pattern for vendor-backed data tooling: a permissively licensed client library shipped separately from the proprietary or separately licensed data products it reads.
Sicherheitslage
Für ip2location wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
ip2location | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/ip2location/IP2Location-C-Library
Installationsmetadaten
| Paketschlüssel | brew:ip2location |
|---|---|
| Version | 8.7.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/ip2location |
| Homepage | https://github.com/ip2location/IP2Location-C-Library |
| Repository | https://github.com/ip2location/IP2Location-C-Library |
| Upstream-Dokumentation | https://github.com/ip2location/IP2Location-C-Library#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/ip2location/IP2Location-C-Library/archive/refs/tags/8.7.0.tar.gz |
| Zuletzt aktualisiert | 2026-06-18T16:19:53Z |
| Pulse | updated |
| Build-Abhängigkeiten | autoconf, automake, libtool |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ip2location |
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
ip2location
nix profile install nixpkgs#ip2locationip2location 8.6.1-r0
Lookup country, region and city information by IP addresses
https://www.ip2location.com/development-libraries/ip2location/c
sudo apk add ip2locationip2location-dev 8.6.1-r0
Lookup country, region and city information by IP addresses (development files)
https://www.ip2location.com/development-libraries/ip2location/c
sudo apk add ip2location-devip2location-doc 8.6.1-r0
Lookup country, region and city information by IP addresses (documentation)
https://www.ip2location.com/development-libraries/ip2location/c
sudo apk add ip2location-docIP2Location 8.7.0-3.fc44
Tools for mapping IP address to geolocation information
sudo dnf install IP2LocationIP2Location-data-sample 8.7.0-3.fc44
Sample data files for the IP2Location library
sudo dnf install IP2Location-data-sampleIP2Location-devel 8.7.0-3.fc44
Development files for the IP2Location library
sudo dnf install IP2Location-develIP2Location-libs 8.7.0-3.fc44
C library for mapping IP address to geolocation information
sudo dnf install IP2Location-libsQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.