# duc を Homebrew, apk, apt, dnf, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:duc
```

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

### macOS

- Homebrew (100%):

```sh
brew install duc
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add duc
```

  証拠: Alpine Linux edge package indexes: duc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install duc
```

  証拠: Debian stable package indexes: duc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install duc
```

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

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

- zypper (92%):

```sh
sudo zypper install duc
```

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

## パッケージ情報

- **パッケージキー:** brew:duc
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.4.6
- **ソース概要:** Suite of tools for inspecting disk usage
- **ホームページ:** <https://github.com/zevv/duc>
- **リポジトリ:** <https://github.com/zevv/duc>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- duc (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.4.6
## プロジェクトの歴史と使われ方

duc is a disk-usage indexer and visualizer built for large Unix filesystems. Its niche is the middle ground between simple du-style scans and heavier monitoring systems: it indexes once, stores accumulated directory sizes, then lets users inspect the database through CLI, ncurses, X/OpenGL, or CGI views.

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

The project documentation presents duc as a collection of tools for indexing, inspecting, and visualizing disk usage. Its homepage emphasizes scale, saying it has been tested on filesystems with hundreds of millions of files and petabytes of storage.

The public GitHub release history shows a 1.0 release candidate in 2015 followed by 1.x releases, which matches its role as a mature small Unix utility rather than a fast-moving platform.

### 採用の歴史

duc entered conventional Unix packaging channels: its homepage documents Debian and derivative installation, and the package metadata here shows availability across Homebrew, Debian, Fedora, Nix, Ubuntu, Alpine, and openSUSE-family packaging.

Adoption is mostly sysadmin and storage-operator oriented. It is useful where repeated recursive du scans are too expensive and where visual inspection is more useful than a single sorted list.

### 使われ方

The typical workflow is to run duc index over a filesystem subtree, then use commands such as duc ls, text UI, GUI, or web views to inspect where space is going. Its default database workflow makes it valuable on machines where disk usage analysis is repeated.

Because it keeps a database of accumulated sizes, duc is better suited to repeated exploration of large trees than one-shot disk usage commands.

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

duc is package-nerd-interesting as a classic small C/Unix utility: one executable name, man-page style documentation, broad distro packaging, and a stable purpose that has not accreted a large platform around itself.

It also represents a family of disk-usage tools that compete by data structure and UI rather than by cloud integration: ncdu, dust, gdu, and duc all solve the same operator itch with different tradeoffs.

### タイムライン

- 2015: duc 1.0 release candidate appears in the GitHub release history.
- 2015: duc 1.1, 1.2, and 1.3 releases follow.
- 2016: duc 1.4 release line begins.
- 2017: duc 1.4.3 is published in the GitHub release history.

### Related projects

- duc is related in usage to ncdu, gdu, dust, and graphical disk usage viewers, but its distinguishing feature is the persistent indexed database used by several front ends.
- It also belongs to the same operational toolbox as du, df, find, and filesystem inventory scripts used by Unix administrators.

### ソース

- <https://github.com/zevv/duc>
- <http://duc.zevv.nl>
- <https://github.com/zevv/duc/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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/ducrc, ~/.config/duc/ducrc, ~/.ducrc, ./.ducrc
## 他のパッケージマネージャ記録

- Debian apt - duc - 1.4.5-1+b1: normalized package name match | Debian stable package indexes: duc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | high-performance disk usage analyzer | https://duc.zevv.nl/
- Debian apt - duc-nox - 1.4.5-1+b1: normalized package name match | Debian stable package indexes: duc-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | high-performance disk usage analyzer (without X support) | https://duc.zevv.nl/
- Nix - duc: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/duc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - duc - 1.4.5-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: duc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | high-performance disk usage analyzer | https://duc.zevv.nl/
- Ubuntu apt - duc-nox - 1.4.5-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: duc-nox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | high-performance disk usage analyzer (without X support) | https://duc.zevv.nl/
- apk - duc - 1.4.5-r0: normalized package name match | Alpine Linux edge package indexes: duc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Tool for inspecting disk usage | http://duc.zevv.nl/
- apk - duc-doc - 1.4.5-r0: normalized package name match | Alpine Linux edge package indexes: duc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Tool for inspecting disk usage (documentation) | http://duc.zevv.nl/
- dnf - duc - 1.4.6-3.fc45: normalized package name match | Fedora Rawhide package metadata: duc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Disk usage tools | https://duc.zevv.nl/
- zypper - duc - 1.4.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: duc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Collection of tools for inspecting and visualizing disk usage | https://github.com/zevv/duc


## Combined YAML source

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