# htpdate mit Homebrew, apk, apt, MacPorts, Nix installieren

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

## Installation

```sh
sudo av install brew:htpdate
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install htpdate
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install htpdate
```

  Evidenz: MacPorts ports tree: net/htpdate/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add htpdate
```

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

- Debian apt (92%):

```sh
sudo apt install htpdate
```

  Evidenz: Debian stable package indexes: htpdate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#htpdate
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ht/htpdate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:htpdate
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/htpdate>
- **Version:** 2.0.2
- **Quellzusammenfassung:** Synchronize time with remote web servers
- **Homepage:** <https://www.vervest.org/htp/>
- **Repository:** <https://github.com/twekkel/htpdate>
- **Upstream-Dokumentation:** <https://www.vervest.org/htp/>
- **Lizenz:** GPL-2.0-or-later
- **Quellarchiv:** <https://github.com/twekkel/htpdate/archive/refs/tags/v2.0.2.tar.gz>
- **Zuletzt aktualisiert:** 2026-05-06T23:49:07Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- htpdate (cli)
- htpdate (Alias)

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.0.2
- Manager aktualisiert: 2026-05-06
- lokale Daten: OK
- Upstream-Repository: https://github.com/twekkel/htpdate
- neueste erkannte Version: v2.0.2 (aktuell)
## Projektgeschichte und Nutzung

htpdate is a small HTTP Time Protocol utility that synchronizes a computer's clock from timestamps in web-server HTTP headers. It is a niche networking package for environments where NTP is blocked, unavailable, or inconvenient but outbound HTTP works.

### Projektgeschichte

The upstream site and repository describe HTP as synchronizing time with web servers as reference sources. htpdate retrieves date and time through HTTP requests, can behave similarly to a browser, works through proxy servers, and can run as a daemon for ongoing synchronization.

The project preserves a pragmatic limitation in its own documentation: usual accuracy is within about 0.5 seconds and can improve with multiple servers, but users needing better time discipline should use an NTP-family package. That framing explains htpdate's evolution as a fallback or constrained-network utility rather than a replacement for NTP, OpenNTPD, or chrony.

### Adoptionsgeschichte

The input package facts record htpdate in Homebrew, Debian, Ubuntu, MacPorts, Nix, and Alpine. That packaging spread is notable for a small tool because its value is situational: it becomes useful exactly on machines and networks where the usual UDP-based time-sync path is not available.

### Wie es verwendet wird

htpdate is used to query one or more web servers, estimate clock offset from HTTP date headers, and either report or set/adjust local time. The man page and README emphasize proxy support, daemon use, IPv4/IPv6 options, HTTP/1.0 versus HTTP/1.1 behavior, and the tradeoff between convenience and precision.

### Warum Paket-Nerds sich dafür interessieren

For package nerds, htpdate is interesting because it is the kind of tiny utility that justifies a package slot through an edge case. It exists for restricted networks, proxy-only hosts, rescue scenarios, and systems where installing a full time-sync stack is more machinery than the job requires.

### Zeitleiste

- 2021: The twekkel/htpdate tag stream includes v1.3.0 from December.
- 2024: The tag stream includes v2.0.0 from September.
- 2024: Alpine package metadata records htpdate 2.0.0 in the community repository.
- Package-manager era: The input package facts record htpdate in Homebrew, Debian, Ubuntu, MacPorts, Nix, and Alpine.

### Related projects

- htpdate is related to NTP clients such as ntpdate, ntpd, OpenNTPD, and chrony, but trades precision for HTTP reachability and proxy compatibility. The same maintainer also publishes `httpdate`, another HTTP-based time synchronization tool with a precision-oriented approach.

### Quellen

- <https://api.github.com/repos/twekkel/htpdate/commits/01d5e9584b22ebf9b166213bfe3f221c039ec4b8>
- <https://api.github.com/repos/twekkel/htpdate/commits/e906bf96eac9ef5a3c0e7546724ff9b2ee817502>
- <https://api.github.com/repos/twekkel/htpdate/tags?per_page=20>
- <https://github.com/twekkel/htpdate>
- <https://github.com/twekkel/htpdate/blob/master/htpdate.8>
- <https://github.com/twekkel/httpdate>
- <https://pkgs.alpinelinux.org/package/edge/community/x86/htpdate>
- <https://www.vervest.org/htp/>


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Debian apt - htpdate - 1.3.7-2+b2: normalized package name match | Debian stable package indexes: htpdate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | HTTP based time synchronization tool | https://github.com/twekkel/htpdate
- Nix - htpdate: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/htpdate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - htpdate - 1.3.7-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: htpdate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | HTTP based time synchronization tool | https://github.com/twekkel/htpdate
- apk - htpdate - 2.0.0-r0: normalized package name match | Alpine Linux edge package indexes: htpdate from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HTTP Time protocol | https://github.com/twekkel/htpdate
- apk - htpdate-doc - 2.0.0-r0: normalized package name match | Alpine Linux edge package indexes: htpdate-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HTTP Time protocol (documentation) | https://github.com/twekkel/htpdate
- apk - htpdate-openrc - 2.0.0-r0: normalized package name match | Alpine Linux edge package indexes: htpdate-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | HTTP Time protocol (OpenRC init scripts) | https://github.com/twekkel/htpdate
- MacPorts - htpdate: normalized package name match | MacPorts ports tree: net/htpdate/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/de/web-dev-tools/) - Matched web development metadata.
- [squid](https://pkg.so/de/brew/squid/) - Shares pkgdb curated category or tags: cli, http, networking.
- [httping](https://pkg.so/de/brew/httping/) - Shares pkgdb curated category or tags: cli, http, networking.
- [xmlrpc-c](https://pkg.so/de/brew/xmlrpc-c/) - Shares pkgdb curated category or tags: cli, http, networking.
- [proxygen](https://pkg.so/de/brew/proxygen/) - Shares pkgdb curated category or tags: cli, http, networking.
- [river](https://pkg.so/de/brew/river/) - Shares pkgdb curated category or tags: cli, http, networking.
- [dish](https://pkg.so/de/brew/dish/) - Shares pkgdb curated category or tags: cli, http, networking.
- [c-ares](https://pkg.so/de/brew/c-ares/) - Shares pkgdb curated category or tags: cli, networking.
- [unbound](https://pkg.so/de/brew/unbound/) - Shares pkgdb curated category or tags: cli, networking.
- [lite-server](https://pkg.so/de/npm/lite-server/) - Local package facts share a topical domain. Shared terms: cli, http, networking, servers, sync.
- [ferron](https://pkg.so/de/brew/ferron/) - Local package facts share a topical domain. Shared terms: cli, http, networking, servers, web.
- [shellinabox](https://pkg.so/de/brew/shellinabox/) - Local package facts share a topical domain. Shared terms: cli, http, networking, remote, web.

## Combined YAML source

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


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
