# Installer ntp avec Homebrew, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ntp pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:ntp
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ntp
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ntp
```

  Preuve: MacPorts ports tree: sysutils/ntp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ntp
```

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

- pacman (92%):

```sh
sudo pacman -S ntp
```

  Preuve: Arch Linux sync databases: ntp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install ntp
```

  Preuve: Ubuntu 24.04 LTS package indexes: ntp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- zypper (92%):

```sh
sudo zypper install ntp
```

  Preuve: openSUSE Tumbleweed package metadata: ntp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:ntp
- **Gestionnaire de paquets:** Homebrew
- **Version:** 4.2.8p18
- **Résumé source:** Network Time Protocol (NTP) Distribution
- **Page d'accueil:** <https://www.ntp.org>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- ntp-keygen (alias)
- ntp-wait (alias)
- ntpd (alias)
- ntpdate (alias)
- ntpdc (alias)
- ntpq (alias)
- ntptime (alias)
- ntptrace (alias)
- sntp (alias)
- update-leap (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 4.2.8p18
## Historique du projet et usages

The NTP package is the classic Network Time Protocol distribution: daemon, query tools, key generation, SNTP utilities, leap-file updater, and compatibility commands for operating a network-synchronized system clock.

### Historique du projet

NTP predates most packages in this database. The NTP FAQ says the first NTP implementation started around 1980, after earlier Internet clock-service work, and that the name Network Time Protocol first appeared in RFC 958 in September 1985. David L. Mills authored RFC 958.

The FAQ traces the protocol through RFC 1059 for NTP version 1 in 1988, RFC 1119 for version 2 with symmetric-key authentication, RFC 1305 for version 3 in 1992, and later NTPv4 work. It also notes that `xntp`, written by Dennis Fergusson at the University of Toronto, evolved into the public software distribution.

### Historique d'adoption

NTP became foundational Internet infrastructure because clocks affect logs, authentication, distributed systems, filesystems, Kerberos, TLS validation, monitoring, and incident response. The package is less a trendy CLI than a long-lived system service that operating systems either ship directly or replace with compatible descendants such as chrony, systemd-timesyncd, OpenNTPD, or NTPsec.

The Homebrew package remains useful for admins who specifically need the reference-style tools such as `ntpd`, `ntpq`, `ntpdate`, `sntp`, and `ntptime` on macOS or in reproducible package environments.

### Modes d'utilisation

Package users configure servers and peers in `/etc/ntp.conf`, run `ntpd` as a daemon, inspect associations with `ntpq`, generate or manage keys with `ntp-keygen`, perform one-shot synchronization with `ntpdate` or `sntp`, and maintain leap-second data with `update-leap`.

The practical split is operational: small systems often only need client synchronization, while infrastructure operators care about strata, upstream server selection, authentication, drift behavior, and monitoring offset/jitter over time.

### Pourquoi les passionnés de paquets s'y intéressent

NTP is package history as infrastructure history. It is one of the quiet protocols that made distributed computing less chaotic, and the brew formula packages the traditional toolchain rather than a newer reimplementation.

### Chronologie

- Around 1980: first NTP implementation, per the NTP FAQ.
- 1985-09: RFC 958, Network Time Protocol, published by David L. Mills.
- 1988: RFC 1059 specified NTP version 1.
- 1989: RFC 1119 specified NTP version 2.
- 1992: RFC 1305 specified NTP version 3.
- 2010-06: RFC 5905 specified NTP version 4.

### Related projects

- xntp
- NTPsec
- OpenNTPD
- chrony
- systemd-timesyncd

### Sources

- <https://formulae.brew.sh/formula/ntp>
- <https://www.ntp.org/ntpfaq/NTP-s-def-hist/>
- <https://www.rfc-editor.org/info/rfc1059>
- <https://www.rfc-editor.org/info/rfc1119>
- <https://www.rfc-editor.org/info/rfc1305>
- <https://www.rfc-editor.org/info/rfc5905>
- <https://www.rfc-editor.org/info/rfc958>


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/ntp.conf

## Credential files

- Unix: /etc/ntp.keys
## Autres enregistrements de gestionnaires de paquets

- Nix - ntp: normalized package name match | nixpkgs package indexes: pkgs/by-name/nt/ntp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ntp - 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ntp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Network Time Protocol daemon/utilities (transitional package) | https://www.ntpsec.org
- pacman - ntp - 4.2.8.p18-6: normalized package name match | Arch Linux sync databases: ntp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Network Time Protocol reference implementation | https://www.ntp.org/
- zypper - ntp - 4.2.8p18-3.3: normalized package name match | openSUSE Tumbleweed package metadata: ntp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Network Time Protocol daemon (version 4) | http://www.ntp.org/
- zypper - ntp-dcf77-tools - 4.2.8p18-3.3: normalized package name match | openSUSE Tumbleweed package metadata: ntp-dcf77-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | DCF77 related tools | http://www.ntp.org/
- zypper - ntp-doc - 4.2.8p18-3.3: normalized package name match | openSUSE Tumbleweed package metadata: ntp-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Additional Package Documentation for ntp | http://www.ntp.org/
- MacPorts - ntp: normalized package name match | MacPorts ports tree: sysutils/ntp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Ubuntu apt - ntpdate - 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ntpdate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Network Time Protocol client (transitional package) | https://www.ntpsec.org
- Ubuntu apt - sntp - 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: sntp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Network Time Protocol client (transitional package) | https://www.ntpsec.org


## Combined YAML source

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


## Sources

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