# Install duc with Homebrew, apk, apt, dnf, Nix, zypper

Suite of tools for inspecting disk usage. Version 1.4.6 via Homebrew; verified 2026-04-18.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install duc
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add duc
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: duc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#duc
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: duc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:duc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/duc>
- **Version:** 1.4.6
- **Source summary:** Suite of tools for inspecting disk usage
- **Homepage:** <https://github.com/zevv/duc>
- **Repository:** <https://github.com/zevv/duc>
- **Upstream docs:** <https://github.com/zevv/duc#readme>
- **License:** LGPL-3.0-only
- **Source archive:** <https://github.com/zevv/duc/releases/download/1.4.6/duc-1.4.6.tar.gz>
- **Last updated:** 2026-04-18T19:16:54-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- duc (cli)
- duc (alias)

## Dependencies

- cairo
- gettext
- glfw
- glib
- harfbuzz
- pango
- tokyo-cabinet

## Build dependencies

- pkgconf

## Uses from macOS

- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4.6
- Package-manager updated: 2026-04-18
- Local data: ok
- Upstream repository: https://github.com/zevv/duc
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** duc
- **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

## Other Package-Manager Records

- 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-2.fc44: normalized package name match | Fedora Rawhide package metadata: duc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Disk usage tools | https://duc.zevv.nl/
- zypper - duc - 1.4.6-1.3: normalized package name match | openSUSE Tumbleweed package metadata: duc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Collection of tools for inspecting and visualizing disk usage | https://github.com/zevv/duc


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [cairo](https://www.automicvault.com/pkg/brew/cairo/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://www.automicvault.com/pkg/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [pango](https://www.automicvault.com/pkg/brew/pango/) - Runtime dependency declared by Homebrew.
- [tokyo-cabinet](https://www.automicvault.com/pkg/brew/tokyo-cabinet/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dua-cli](https://www.automicvault.com/pkg/brew/dua-cli/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, storage, system.
- [gdu](https://www.automicvault.com/pkg/brew/gdu/) - Shares av.db curated category or tags: cli, disk-usage, storage, system.
- [ncdu](https://www.automicvault.com/pkg/brew/ncdu/) - Shares av.db curated category or tags: cli, disk-usage, storage, system.
- [agedu](https://www.automicvault.com/pkg/brew/agedu/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [dfc](https://www.automicvault.com/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [diskonaut](https://www.automicvault.com/pkg/brew/diskonaut/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [diskus](https://www.automicvault.com/pkg/brew/diskus/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.
- [duf](https://www.automicvault.com/pkg/brew/duf/) - Shares av.db curated category or tags: cli, disk-usage, filesystem, system.

## Combined YAML source

View the package source record on GitHub. [combined/duc.yml](https://github.com/automic-vault/db/blob/main/combined/duc.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
