macOS
brew install ntplocal Homebrew formula metadata
sudo port install ntpMacPorts ports tree · sysutils/ntp/Portfile · 来源: api.github.com
安装
brew install ntplocal Homebrew formula metadata
sudo port install ntpMacPorts ports tree · sysutils/ntp/Portfile · 来源: api.github.com
nix profile install nixpkgs#ntpnixpkgs package indexes · pkgs/by-name/nt/ntp/package.nix · 来源: api.github.com
sudo pacman -S ntpArch Linux sync databases · ntp · 来源: geo.mirror.pkgbuild.com
sudo apt install ntpUbuntu 24.04 LTS package indexes · ntp · 来源: archive.ubuntu.com
sudo zypper install ntpopenSUSE Tumbleweed package metadata · ntp · 来源: download.opensuse.org
概览
Network Time Protocol (NTP) Distribution
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/ntp.confCredential-bearing paths to review before unattended agent runs.
/etc/ntp.keys可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ntp-keygen | cli | 全局可执行文件 | |
ntp-wait | cli | 全局可执行文件 | |
ntpd | cli | 全局可执行文件 | |
ntpdate | cli | 全局可执行文件 | |
ntpdc | cli | 全局可执行文件 | |
ntpq | cli | 全局可执行文件 | |
ntptime | cli | 全局可执行文件 | |
ntptrace | cli | 全局可执行文件 | |
sntp | cli | 全局可执行文件 | |
update-leap | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ntp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ntp
nix profile install nixpkgs#ntpntp 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2
Network Time Protocol daemon/utilities (transitional package)
sudo apt install ntpntp 4.2.8.p18-6
Network Time Protocol reference implementation
sudo pacman -S ntpntp 4.2.8p18-2.2
Network Time Protocol daemon (version 4)
sudo zypper install ntpntp-dcf77-tools 4.2.8p18-2.2
DCF77 related tools
sudo zypper install ntp-dcf77-toolsntp-doc 4.2.8p18-2.2
Additional Package Documentation for ntp
sudo zypper install ntp-docntp
sudo port install ntpntpdate 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2
Network Time Protocol client (transitional package)
sudo apt install ntpdatesntp 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-4build2
Network Time Protocol client (transitional package)
sudo apt install sntp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.