Automic VaultAutomic Vault

brew

ip2location mit Homebrew, apk, Nix, dnf installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für ip2location in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install ip2location

local Homebrew formula metadata

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add ip2location

Alpine Linux edge package indexes · ip2location · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#ip2location

nixpkgs package indexes · pkgs/by-name/ip/ip2location/package.nix · Quelle: api.github.com

Fedora dnfverifiziert · 92%
sudo dnf install IP2Location

Fedora Rawhide package metadata · IP2Location · Quelle: dl.fedoraproject.org

Überblick

Paketzusammenfassung

C library and CLI to geolocate IP addresses

Befehle und Aliase

  • ip2location

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2013: Version 6.0.0 added memory, cache, and shared-memory opening and cleanup APIs.
  • 2014: Version 7.0.0 added IPv6 support and removed the IMath library dependency.
  • 2016: Version 8.0.0 added lookup support for the index section in a newer BIN format.
  • 2017: Version 8.0.5 closed out the in-file changelog era before release notes moved to GitHub releases.
  • 2023: The 8.6.x releases continued the GitHub release stream.
  • 2025: Version 8.7.0 was published through GitHub releases.

Related projects

  • Related upstream projects include the IP2Location database products, IP2Location LITE sample databases, language-specific IP2Location libraries, and modules such as IP2Location-Varnish that use the C library as a dependency.
  • At the package level it sits near tools such as GeoIP and libmaxminddb, but it is tied to the IP2Location BIN database format rather than MaxMind's MMDB format.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

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.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 3 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
ip2locationcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-25
Manager-Version8.7.0
Manager aktualisiert2026-06-18
lokale DatenOK
Upstreamaktuell
neueste erkannte Version8.7.0

https://github.com/ip2location/IP2Location-C-Library

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:ip2location
Version8.7.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/ip2location
Homepagehttps://github.com/ip2location/IP2Location-C-Library
Repositoryhttps://github.com/ip2location/IP2Location-C-Library
Upstream-Dokumentationhttps://github.com/ip2location/IP2Location-C-Library#readme
LizenzMIT
Quellarchivhttps://github.com/ip2location/IP2Location-C-Library/archive/refs/tags/8.7.0.tar.gz
Zuletzt aktualisiert2026-06-18T16:19:53Z
Pulseupdated
Build-Abhängigkeitenautoconf, automake, libtool
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameip2location
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

ip2location

nix profile install nixpkgs#ip2location
  • normalized package name match
  • Abgeglichen nach: Ip2location
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ip/ip2location/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

ip2location 8.6.1-r0

Lookup country, region and city information by IP addresses

https://www.ip2location.com/development-libraries/ip2location/c

sudo apk add ip2location
  • License: MIT
  • Architecture: x86_64
  • Source Package: ip2location
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ip2location
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ip2location from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

ip2location-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-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: ip2location
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Ip2location
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ip2location-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

ip2location-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-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: ip2location
  • normalized package name match
  • Abgeglichen nach: Ip2location
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ip2location-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

IP2Location 8.7.0-3.fc44

Tools for mapping IP address to geolocation information

https://www.ip2location.com/

sudo dnf install IP2Location
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: IP2Location
  • 5 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ip2location
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: IP2Location from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

IP2Location-data-sample 8.7.0-3.fc44

Sample data files for the IP2Location library

https://www.ip2location.com/

sudo dnf install IP2Location-data-sample
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: IP2Location
  • 1 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ip2location
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: IP2Location-data-sample from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

IP2Location-devel 8.7.0-3.fc44

Development files for the IP2Location library

https://www.ip2location.com/

sudo dnf install IP2Location-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: IP2Location
  • 2 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ip2location
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: IP2Location-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

IP2Location-libs 8.7.0-3.fc44

C library for mapping IP address to geolocation information

https://www.ip2location.com/

sudo dnf install IP2Location-libs
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: IP2Location
  • 2 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Ip2location
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: IP2Location-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment