pkg.soopen package index

brew / rank 6500

Install htpdate with Homebrew, apk, apt, MacPorts, Nix

Synchronize time with remote web servers. Version 2.0.2 via Homebrew; verified 2026-05-06. Also installable with debian: sudo apt install htpdate.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install htpdate

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install htpdate

MacPorts ports tree · net/htpdate/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add htpdate

Alpine Linux edge package indexes · htpdate · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install htpdate

Debian stable package indexes · htpdate · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#htpdate

nixpkgs package indexes · pkgs/by-name/ht/htpdate/package.nix · source: api.github.com

overview

Package summary

Synchronize time with remote web servers

Commands and aliases

  • htpdate

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:sync,server

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
htpdateexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2.0.2
manager updated2026-05-06
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:htpdate
Version2.0.2
Package managerHomebrew
Homepagehttps://www.vervest.org/htp/
Repositoryhttps://github.com/twekkel/htpdate
Last updated2026-05-06T23:49:07Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

htpdate 1.3.7-2+b2

HTTP based time synchronization tool

https://github.com/twekkel/htpdate

sudo apt install htpdate
  • Section: net
  • Architecture: amd64
  • Source Package: htpdate
  • 2 dependencies
  • normalized package name match
  • Matched by: Htpdate
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htpdate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htpdate

nix profile install nixpkgs#htpdate
  • normalized package name match
  • Matched by: Htpdate
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/htpdate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

htpdate 1.3.7-2build2

HTTP based time synchronization tool

https://github.com/twekkel/htpdate

sudo apt install htpdate
  • Section: universe/net
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Htpdate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htpdate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

htpdate 2.0.0-r0

HTTP Time protocol

https://github.com/twekkel/htpdate

sudo apk add htpdate
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htpdate
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Htpdate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htpdate from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

htpdate-doc 2.0.0-r0

HTTP Time protocol (documentation)

https://github.com/twekkel/htpdate

sudo apk add htpdate-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htpdate
  • normalized package name match
  • Matched by: Htpdate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htpdate-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

htpdate-openrc 2.0.0-r0

HTTP Time protocol (OpenRC init scripts)

https://github.com/twekkel/htpdate

sudo apk add htpdate-openrc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: htpdate
  • normalized package name match
  • Matched by: Htpdate
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htpdate-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

htpdate

sudo port install htpdate
  • normalized package name match
  • Matched by: Htpdate
MacPorts ports tree · api.github.com · MacPorts ports tree: net/htpdate/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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