# tmpwatch を Homebrew, dnf, Nix, zypper でインストール

tmpwatch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tmpwatch
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tmpwatch
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install tmpwatch
```

  証拠: Fedora Rawhide package metadata: tmpwatch 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#tmpwatch
```

  証拠: nixpkgs package indexes: pkgs/by-name/tm/tmpwatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install tmpwatch
```

  証拠: openSUSE Tumbleweed package metadata: tmpwatch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:tmpwatch
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tmpwatch>
- **バージョン:** 2.11
- **ソース概要:** Find and remove files not accessed in a specified time
- **ホームページ:** <https://pagure.io/tmpwatch>
- **上流ドキュメント:** <https://pagure.io/tmpwatch>
- **ライセンス:** GPL-2.0-only
- **ソースアーカイブ:** <https://releases.pagure.org/tmpwatch/tmpwatch-2.11.tar.bz2>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- tmpwatch (cli)
- tmpwatch (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.11
- ローカルデータ: OK
- 上流リポジトリ: https://pagure.io/tmpwatch
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

tmpwatch is a small Red Hat-originated system administration utility for recursively deleting files that have not been accessed for a configured period. Its historical niche is simple, cron-friendly hygiene for temporary directories such as /tmp.

### プロジェクトの歴史

The upstream man page carries Red Hat copyright years from 1997 through 2009 and lists Red Hat authors including Erik Troan, Preston Brown, Nalin Dahyabhai, and Miloslav Trmac. That places tmpwatch in the older Linux distribution tooling tradition: focused utilities shipped by distributions to solve recurring operational problems with minimal ceremony.

### 採用の歴史

Red Hat Enterprise Linux 6 technical notes still documented tmpwatch in 2011 as an updated package for RHEL 6, and Fedora package metadata describes the same temporary-directory cleanup role. In this batch input, the package is also present through Homebrew, dnf, Nix, and zypper names, showing that the utility survived outside its original Red Hat context as a portable admin tool.

### 使われ方

tmpwatch is normally run against one or more directories with an age threshold, commonly from cron or equivalent scheduled maintenance. Its safety details matter to administrators: the man page documents race-condition checks, avoiding filesystem crossings, ignoring symlinks in cleaned directories, and using atime by default with options for mtime and ctime.

### パッケージ好きにとっての重要性

For package-manager users, tmpwatch is interesting because it represents the pre-systemd era of distribution-specific housekeeping tools: tiny, scriptable, predictable, and packaged under the same name across several Unix-like ecosystems.

### タイムライン

- 1997-2009: Upstream man page copyright range records Red Hat maintenance of tmpwatch.
- 2009: The upstream man page is dated 2009-10-15.
- 2011: Red Hat Enterprise Linux 6 technical notes documented a tmpwatch bug-fix update.

### Related projects

- cron and rm are referenced by the upstream man page as related commands in the cleanup workflow.
- Distribution package metadata positions tmpwatch as a filesystem and temporary-file maintenance tool.

### ソース

- <https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/6.2_technical_notes/tmpwatch>
- <https://packages.fedoraproject.org/pkgs/tmpwatch/tmpwatch/index.html>
- <https://pagure.io/tmpwatch/raw/master/f/tmpwatch.8>
- input.json source_facts.package-manager


## セキュリティノート

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:** tmpwatch
- **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

## 他のパッケージマネージャ記録

- Nix - tmpwatch: normalized package name match | nixpkgs package indexes: pkgs/by-name/tm/tmpwatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - tmpwatch - 2.11-31.fc45: normalized package name match | Fedora Rawhide package metadata: tmpwatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A utility for removing files based on when they were last accessed | https://pagure.io/tmpwatch
- zypper - tmpwatch - 2.11-7.9: normalized package name match | openSUSE Tumbleweed package metadata: tmpwatch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Watches file system activity, such as /tmp files | https://pagure.io/tmpwatch


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [tmpreaper](https://pkg.so/ja/brew/tmpreaper/) - Shares pkgdb curated category or tags: cleanup, cli, system, system-maintenance, temporary-files.
- [mole](https://pkg.so/ja/brew/mole/) - Shares pkgdb curated category or tags: cleanup, cli, system, system-maintenance.
- [rmlint](https://pkg.so/ja/brew/rmlint/) - Shares pkgdb curated category or tags: cleanup, cli, filesystem, system.
- [rmrfrs](https://pkg.so/ja/brew/rmrfrs/) - Shares pkgdb curated category or tags: cleanup, cli, filesystem, system.
- [tree](https://pkg.so/ja/brew/tree/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [acl](https://pkg.so/ja/brew/acl/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [wimlib](https://pkg.so/ja/brew/wimlib/) - Shares pkgdb curated category or tags: cli, filesystem, system.
- [attr](https://pkg.so/ja/brew/attr/) - Shares pkgdb curated category or tags: cli, filesystem, system.

## Combined YAML source

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