pkg.soopen package index

brew / 排名 3871

使用 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

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

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-keygen可执行文件已索引可执行文件从本地可执行文件索引发现。
ntp-wait可执行文件已索引可执行文件从本地可执行文件索引发现。
ntpd可执行文件已索引可执行文件从本地可执行文件索引发现。
ntpdate可执行文件已索引可执行文件从本地可执行文件索引发现。
ntpdc可执行文件已索引可执行文件从本地可执行文件索引发现。
ntpq可执行文件已索引可执行文件从本地可执行文件索引发现。
ntptime可执行文件已索引可执行文件从本地可执行文件索引发现。
ntptrace可执行文件已索引可执行文件从本地可执行文件索引发现。
sntp可执行文件已索引可执行文件从本地可执行文件索引发现。
update-leap可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本4.2.8p18
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:ntp
版本4.2.8p18
软件包管理器Homebrew
主页https://www.ntp.org
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 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-3.3

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

ntp-dcf77-tools 4.2.8p18-3.3

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

ntp-doc 4.2.8p18-3.3

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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation