# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 dateutils

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

## 安装

```sh
sudo av install brew:dateutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dateutils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dateutils
```

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

### Linux

- apk (92%):

```sh
sudo apk add dateutils
```

  证据: Alpine Linux edge package indexes: dateutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dateutils
```

  证据: Debian stable package indexes: dateutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dateutils
```

  证据: Fedora Rawhide package metadata: dateutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dateutils
```

  证据: nixpkgs package indexes: pkgs/by-name/da/dateutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dateutils
```

  证据: Arch Linux sync databases: dateutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dateutils
```

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

## 软件包事实

- **软件包键:** brew:dateutils
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dateutils>
- **版本:** 0.4.11
- **来源摘要:** Tools to manipulate dates with a focus on financial data
- **主页:** <https://www.fresse.org/dateutils/>
- **仓库:** <https://github.com/hroptatyr/dateutils>
- **上游文档:** <https://www.fresse.org/dateutils/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/hroptatyr/dateutils/releases/download/v0.4.11/dateutils-0.4.11.tar.xz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dadd (cli)
- dateadd (cli)
- dateconv (cli)
- datediff (cli)
- dategrep (cli)
- dateround (cli)
- dateseq (cli)
- datesort (cli)
- datetest (cli)
- datezone (cli)
- dconv (cli)
- ddiff (cli)
- dgrep (cli)
- dround (cli)
- dseq (cli)
- dsort (cli)
- dtest (cli)
- dzone (cli)
- strptime (cli)
- dadd (别名)
- dateadd (别名)
- dateconv (别名)
- datediff (别名)
- dategrep (别名)
- dateround (别名)
- dateseq (别名)
- datesort (别名)
- datetest (别名)
- datezone (别名)
- dconv (别名)
- ddiff (别名)
- dgrep (别名)
- dround (别名)
- dseq (别名)
- dsort (别名)
- dtest (别名)
- dzone (别名)
- strptime (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4.11
- 本地数据: OK
- 上游仓库: https://github.com/hroptatyr/dateutils
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

dateutils is a collection of command-line tools for date and time calculation, conversion, filtering, sorting, and comparison.

### 项目历史

The project is maintained by Sebastian Freundt and presents itself as a Unix command family for date/time manipulation, with commands that intentionally resemble familiar shell tools.

### 采用历史

The official homepage lists native packages across Linux distributions and BSD variants, which matches its role as a small system utility rather than an application framework.

### 使用方式

Package users reach for commands such as `dateadd`, `dateconv`, `datediff`, `dategrep`, `dateseq`, and `datesort` when shell scripts need calendar-aware operations without embedding custom date logic.

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

dateutils is package-nerd candy because it does one old Unix thing well: it extends text pipelines with calendar semantics, especially for financial-data workflows where ordinary `date` and `seq` get awkward.

### 时间线

- 2010s: dateutils is distributed as a small command-line suite with upstream releases.
- 2014: The official homepage lists multiple distro and BSD package entries.
- 2020s: The GitHub repository remains the primary upstream source listed by the project.

### Related projects

- The tools are conceptually adjacent to Unix `date`, `seq`, `grep`, `sort`, and the C library `strptime` function.

### 来源

- <https://www.fresse.org/dateutils>
- <https://github.com/hroptatyr/dateutils/blob/master/README.md>
- <https://github.com/hroptatyr/dateutils/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dateutils
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - dateutils - 0.4.11-1: normalized package name match | Debian stable package indexes: dateutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | nifty command line date and time utilities | http://www.fresse.org/dateutils
- Nix - dateutils: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dateutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dateutils - 0.4.10-3: normalized package name match | Ubuntu 24.04 LTS package indexes: dateutils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | nifty command line date and time utilities | http://www.fresse.org/dateutils
- apk - dateutils - 0.4.11-r0: normalized package name match | Alpine Linux edge package indexes: dateutils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utilities for fast date-time calculations and conversion | https://www.fresse.org/dateutils/
- apk - dateutils-doc - 0.4.11-r0: normalized package name match | Alpine Linux edge package indexes: dateutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utilities for fast date-time calculations and conversion (documentation) | https://www.fresse.org/dateutils/
- dnf - dateutils - 0.4.11-8.fc45: normalized package name match | Fedora Rawhide package metadata: dateutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Command-line date and time calculation, conversion, and comparison | http://www.fresse.org/dateutils/
- pacman - dateutils - 0.4.11-3: normalized package name match | Arch Linux sync databases: dateutils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | nifty command line date and time utilities; fast date calculations and conversion in the shell | https://www.fresse.org/dateutils/
- zypper - dateutils - 0.4.11-1.9: normalized package name match | openSUSE Tumbleweed package metadata: dateutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Command line date and time utilities | https://github.com/hroptatyr/dateutils/
- zypper - dateutils-octave - 0.4.11-1.9: normalized package name match | openSUSE Tumbleweed package metadata: dateutils-octave from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Dateutils functions for matlab and octave | https://github.com/hroptatyr/dateutils/
- MacPorts - dateutils: normalized package name match | MacPorts ports tree: sysutils/dateutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cctz](https://pkg.so/zh-hans/brew/cctz/) - Shares pkgdb curated category or tags: cli, date-time, developer-tools.
- [timezone-support](https://pkg.so/zh-hans/npm/timezone-support/) - Local package facts share a topical domain. Shared terms: cli, data, date, developer, developer-tools.
- [bttf](https://pkg.so/zh-hans/brew/bttf/) - Local package facts share a topical domain. Shared terms: cli, date, developer, developer-tools, time.

## Combined YAML source

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


## 来源

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