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

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

## 安装

```sh
sudo av install brew:dehydrated
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dehydrated
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dehydrated
```

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

- Debian apt (92%):

```sh
sudo apt install dehydrated
```

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

- dnf (92%):

```sh
sudo dnf install dehydrated
```

  证据: Fedora Rawhide package metadata: dehydrated 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#dehydrated
```

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

- pacman (92%):

```sh
sudo pacman -S dehydrated
```

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

- zypper (92%):

```sh
sudo zypper install dehydrated
```

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

## 软件包事实

- **软件包键:** brew:dehydrated
- **软件包管理器:** Homebrew
- **版本:** 0.7.2
- **来源摘要:** LetsEncrypt/acme client implemented as a shell-script
- **主页:** <https://dehydrated.io>
- **仓库:** <https://github.com/dehydrated-io/dehydrated>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dehydrated (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

dehydrated is a shell-script ACME client for obtaining and renewing TLS certificates from ACME certificate authorities such as Let's Encrypt and ZeroSSL.

### 项目历史

The README describes dehydrated as a relatively simple bash-compatible client that uses OpenSSL for key and certificate handling and common Unix tools such as cURL, sed, grep, awk, and mktemp for the rest. It supports ACME v1 and ACME v2, including wildcard certificates.

The release history starts with v0.1.0 in April 2016, reached v0.5.0 in January 2018, and continued through v0.7.2 in May 2025. The README notes that the repository is officially maintained by ZeroSSL.

### 采用历史

dehydrated became a package-manager-friendly ACME client because it is a single script with familiar Unix dependencies. Homebrew packages it, and the upstream documentation is built around editable config files, domains.txt, hooks, cron-style renewal, and existing web-server integration.

### 使用方式

Administrators use dehydrated to register an ACME account, list certificate names in domains.txt, configure an HTTP, DNS, or TLS-ALPN challenge, and run `dehydrated -c` from cron or another scheduler. The man page emphasizes that certificates are normally stored under the configured certificate directory and renewed regularly.

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

dehydrated is significant because it shows the Unix-shell version of ACME automation: no daemon, no embedded web server, and no large runtime. For packagers and sysadmins, that makes it easy to audit, patch, hook into local deployment scripts, and run on minimal systems.

### 时间线

- 2016: v0.1.0 is published.
- 2018: v0.5.0 is published and the man page records 2015-2018 authorship.
- 2020: v0.7.0 is published.
- 2025: v0.7.2 is published.

### Related projects

- dehydrated belongs to the ACME client ecosystem around Let's Encrypt, ZeroSSL, OpenSSL, and web-server or DNS-provider hook scripts.

### 来源

- <https://github.com/dehydrated-io/dehydrated>
- <https://github.com/dehydrated-io/dehydrated/tree/master/docs>
- <https://github.com/dehydrated-io/dehydrated/blob/master/docs/man/dehydrated.1>
- <https://github.com/dehydrated-io/dehydrated/blob/master/docs/examples/config>
- <https://github.com/dehydrated-io/dehydrated/releases/tag/v0.1.0>
- <https://github.com/dehydrated-io/dehydrated/releases/tag/v0.5.0>
- <https://github.com/dehydrated-io/dehydrated/releases/tag/v0.7.0>
- <https://github.com/dehydrated-io/dehydrated/releases/tag/v0.7.2>
- <https://formulae.brew.sh/formula/dehydrated>


## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## 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

- Unix: /etc/dehydrated/config, /usr/local/etc/dehydrated/config, $PWD/config, $SCRIPTDIR/config

## Credential files

- Unix: ${BASEDIR}/accounts
## 其他软件包管理器记录

- Debian apt - dehydrated - 0.7.2-2: normalized package name match | Debian stable package indexes: dehydrated from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ACME client implemented in Bash | https://dehydrated.io
- Debian apt - dehydrated-apache2 - 0.7.2-2: normalized package name match | Debian stable package indexes: dehydrated-apache2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dehydrated challenge response support for Apache2 | https://dehydrated.io
- Nix - dehydrated: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/dehydrated/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dehydrated - 0.7.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: dehydrated from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ACME client implemented in Bash | https://dehydrated.io
- Ubuntu apt - dehydrated-apache2 - 0.7.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: dehydrated-apache2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dehydrated challenge response support for Apache2 | https://dehydrated.io
- apk - dehydrated - 0.7.2-r1: normalized package name match | Alpine Linux edge package indexes: dehydrated from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | shellscript letsencrypt/acme client | https://github.com/dehydrated-io/dehydrated
- apk - dehydrated-doc - 0.7.2-r1: normalized package name match | Alpine Linux edge package indexes: dehydrated-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | shellscript letsencrypt/acme client (documentation) | https://github.com/dehydrated-io/dehydrated
- dnf - dehydrated - 0.7.2-4.fc45: normalized package name match | Fedora Rawhide package metadata: dehydrated from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Client for signing certificates with an ACME server | https://github.com/dehydrated-io/dehydrated
- pacman - dehydrated - 0.7.2-2: normalized package name match | Arch Linux sync databases: dehydrated from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | letsencrypt/acme client implemented as a shell-script – just add water | https://dehydrated.io
- zypper - dehydrated - 0.7.1-3.6: normalized package name match | openSUSE Tumbleweed package metadata: dehydrated from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A client for signing certificates with an ACME server | https://github.com/lukas2511/dehydrated
- zypper - dehydrated-apache2 - 0.7.1-3.6: normalized package name match | openSUSE Tumbleweed package metadata: dehydrated-apache2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Apache Integration for dehydrated | https://github.com/lukas2511/dehydrated
- zypper - dehydrated-nginx - 0.7.1-3.6: normalized package name match | openSUSE Tumbleweed package metadata: dehydrated-nginx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Nginx Integration for dehydrated | https://github.com/lukas2511/dehydrated


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
