# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.4.11
- **来源摘要:** Tools to manipulate dates with a focus on financial data
- **主页:** <https://www.fresse.org/dateutils/>
- **仓库:** <https://github.com/hroptatyr/dateutils>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.11
## 项目历史与用法

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
