Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman, apt, zypper 安装 ntp

查看 ntp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install ntp

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install ntp

MacPorts ports tree · sysutils/ntp/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#ntp

nixpkgs package indexes · pkgs/by-name/nt/ntp/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S ntp

Arch Linux sync databases · ntp · 来源: geo.mirror.pkgbuild.com

Ubuntu apt已验证 · 92%
sudo apt install ntp

Ubuntu 24.04 LTS package indexes · ntp · 来源: archive.ubuntu.com

openSUSE zypper已验证 · 92%
sudo zypper install ntp

openSUSE Tumbleweed package metadata · ntp · 来源: download.opensuse.org

概览

软件包摘要

Network Time Protocol (NTP) Distribution

命令和别名

  • ntp-keygen
  • ntp-wait
  • ntpd
  • ntpdate
  • ntpdc
  • ntpq
  • ntptime
  • ntptrace
  • sntp
  • update-leap

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/ntp.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/ntp.keys

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ntp-keygencli全局可执行文件
ntp-waitcli全局可执行文件
ntpdcli全局可执行文件
ntpdatecli全局可执行文件
ntpdccli全局可执行文件
ntpqcli全局可执行文件
ntptimecli全局可执行文件
ntptracecli全局可执行文件
sntpcli全局可执行文件
update-leapcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本4.2.8p18
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.ntp.org

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.ntp.orgnone 置信度

安装元数据

软件包元数据

软件包键brew:ntp
版本4.2.8p18
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/ntp
主页https://www.ntp.org
仓库https://bk.ntp.org/ntp-stable
上游文档https://www.ntp.org/documentation
许可证BSD-2-Clause AND NTP
源码归档https://downloads.nwtime.org/ntp/4.2.8/ntp-4.2.8p18.tar.gz
依赖openssl@3
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

ntp

nix profile install nixpkgs#ntp
  • normalized package name match
  • 匹配方式:Ntp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/nt/ntp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

ntp 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2

Network Time Protocol daemon/utilities (transitional package)

https://www.ntpsec.org

sudo apt install ntp
  • Section: universe/net
  • Architecture: all
  • Source Package: ntpsec
  • 1 依赖
  • normalized package name match
  • 匹配方式:Ntp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ntp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

ntp 4.2.8.p18-6

Network Time Protocol reference implementation

https://www.ntp.org/

sudo pacman -S ntp
  • License: custom
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Ntp
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: ntp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

ntp 4.2.8p18-2.2

Network Time Protocol daemon (version 4)

http://www.ntp.org/

sudo zypper install ntp
  • License: BSD-3-Clause AND MIT AND BSD-4-Clause AND GPL-2.0-only
  • Category: Productivity/Networking/Other
  • Architecture: x86_64
  • Source Package: ntp
  • 19 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Ntp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ntp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ntp-dcf77-tools 4.2.8p18-2.2

DCF77 related tools

http://www.ntp.org/

sudo zypper install ntp-dcf77-tools
  • License: BSD-3-Clause AND MIT AND BSD-4-Clause AND GPL-2.0-only
  • Category: Hardware/Other
  • Architecture: x86_64
  • Source Package: ntp
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Ntp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ntp-dcf77-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

ntp-doc 4.2.8p18-2.2

Additional Package Documentation for ntp

http://www.ntp.org/

sudo zypper install ntp-doc
  • License: BSD-3-Clause AND MIT AND BSD-4-Clause AND GPL-2.0-only
  • Category: Documentation/Other
  • Architecture: x86_64
  • Source Package: ntp
  • 4 提供
  • normalized package name match
  • 匹配方式:Ntp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: ntp-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ntp

sudo port install ntp
  • normalized package name match
  • 匹配方式:Ntp
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/ntp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Ubuntu apt92%

ntpdate 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2

Network Time Protocol client (transitional package)

https://www.ntpsec.org

sudo apt install ntpdate
  • Section: universe/net
  • Architecture: all
  • Source Package: ntpsec
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Ntpdate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ntpdate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

sntp 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2

Network Time Protocol client (transitional package)

https://www.ntpsec.org

sudo apt install sntp
  • Section: universe/net
  • Architecture: all
  • Source Package: ntpsec
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Sntp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sntp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment