# 使用 Homebrew, apt, dnf, Nix, pacman 安装 stress

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

## 安装

```sh
sudo av install brew:stress
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stress
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install stress
```

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

- dnf (92%):

```sh
sudo dnf install stress
```

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

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

- pacman (92%):

```sh
sudo pacman -S stress
```

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

## 软件包事实

- **软件包键:** brew:stress
- **软件包管理器:** Homebrew
- **版本:** 1.0.7
- **来源摘要:** Tool to impose load on and stress test a computer system
- **主页:** <https://github.com/resurrecting-open-source-projects/stress>
- **仓库:** <https://github.com/resurrecting-open-source-projects/stress>
- **最后更新:** 2026-07-28T14:21:41+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stress (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

stress is a classic POSIX command-line load generator for CPU, memory, I/O, and disk pressure, used by administrators and kernel/system programmers to expose behavior under heavy load.

### 项目历史

The current upstream README says stress was originally developed by Amos Waterland under GPL-2+. The same README says the original project went unmaintained, that the last original version 1.0.4 was imported from Debian, and that volunteer maintainers later produced newer releases under Resurrecting Open Source Projects.

The ChangeLog records Amos Waterland releases through 1.0.4 in 2010, followed by volunteer-maintained releases such as 1.0.5 in 2021 and later 1.0.6 and 1.0.7 in 2023.

### 采用历史

stress became common because it does one job predictably and is easy to package. The supplied package-manager facts list it in Homebrew, Debian, Fedora/dnf, Nix, pacman, and Ubuntu.

Its continued packaging beside stress-ng shows a conservative Unix pattern: keep the old simple tool available for scripts and documentation while newer tools cover larger test surfaces.

### 使用方式

The README explicitly says stress is not a benchmark. It is used by system administrators to evaluate scaling, by kernel programmers to evaluate perceived performance characteristics, and by systems programmers to expose bugs that appear under heavy load.

Typical package-manager users install it for quick reproducible load generation, CI smoke tests, container experiments, or demos where `stress-ng` would be more featureful than needed.

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

stress is significant because it is the tiny, old-school answer to 'make this machine work hard now.' It has a stable CLI, few conceptual dependencies, and enough distro history that many runbooks still mention it.

For package nerds, the 2021 volunteer revival is also a familiar maintenance story: import the last distro-carried source, preserve the interface, modernize the build, and keep the package alive without turning it into a new framework.

### 时间线

- 2010-03-19: ChangeLog records version 1.0.4 by Amos Waterland.
- 2021: Current README says the unmaintained 1.0.4 source was imported from Debian and updated for the 1.0.5 release.
- 2023: ChangeLog records volunteer-maintained 1.0.6 and 1.0.7 releases.

### Related projects

- stress-ng is the larger next-generation stress-testing suite for users who need many more stressors and metrics.
- Debian packaging is part of the preservation chain for the current upstream source.

### 来源

- <https://github.com/resurrecting-open-source-projects/stress#readme>
- <https://raw.githubusercontent.com/resurrecting-open-source-projects/stress/master/ChangeLog>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - stress - 1.0.7-1: normalized package name match | Debian stable package indexes: stress from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool to impose load on and stress test a computer system | https://github.com/resurrecting-open-source-projects/stress
- Nix - stress: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stress/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - stress - 1.0.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: stress from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool to impose load on and stress test a computer system | https://github.com/resurrecting-open-source-projects/stress
- dnf - stress - 1.0.7-9.fc45: normalized package name match | Fedora Rawhide package metadata: stress from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A tool to put given subsystems under a specified load | https://github.com/resurrecting-open-source-projects/stress
- pacman - stress - 1.0.7-3: normalized package name match | Arch Linux sync databases: stress from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool that stress tests your system (CPU, memory, I/O, disks) | https://github.com/resurrecting-open-source-projects/stress


## Combined YAML source

View the package source record on GitHub. [combined/stress.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stress.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
