Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, zypper 安装 duc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install duc

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add duc

Alpine Linux edge package indexes · duc · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install duc

Debian stable package indexes · duc · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install duc

Fedora Rawhide package metadata · duc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#duc

nixpkgs package indexes · pkgs/by-name/du/duc/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install duc

openSUSE Tumbleweed package metadata · duc · 来源: download.opensuse.org

概览

软件包摘要

Suite of tools for inspecting disk usage

命令和别名

  • duc

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
/etc/ducrc~/.config/duc/ducrc~/.ducrc./.ducrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
duccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.4.6
管理器更新时间2026-04-18
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/zevv/duc

安装元数据

软件包元数据

软件包键brew:duc
版本1.4.6
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/duc
主页https://github.com/zevv/duc
仓库https://github.com/zevv/duc
上游文档https://github.com/zevv/duc#readme
许可证LGPL-3.0-only
源码归档https://github.com/zevv/duc/releases/download/1.4.6/duc-1.4.6.tar.gz
最后更新2026-04-18T19:16:54-04:00
Pulseupdated
依赖cairo, gettext, glfw, glib, harfbuzz, pango, tokyo-cabinet
构建依赖pkgconf
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameduc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

duc 1.4.5-1+b1

high-performance disk usage analyzer

https://duc.zevv.nl/

sudo apt install duc
  • Section: utils
  • Architecture: amd64
  • Source Package: duc
  • 9 依赖
  • normalized package name match
  • 匹配方式:Duc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

duc-nox 1.4.5-1+b1

high-performance disk usage analyzer (without X support)

https://duc.zevv.nl/

sudo apt install duc-nox
  • Section: utils
  • Architecture: amd64
  • Source Package: duc
  • 4 依赖
  • normalized package name match
  • 匹配方式:Duc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duc-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

duc

nix profile install nixpkgs#duc
  • normalized package name match
  • 匹配方式:Duc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/duc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

duc 1.4.5-1build2

high-performance disk usage analyzer

https://duc.zevv.nl/

sudo apt install duc
  • Section: universe/utils
  • Architecture: amd64
  • 9 依赖
  • normalized package name match
  • 匹配方式:Duc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

duc-nox 1.4.5-1build2

high-performance disk usage analyzer (without X support)

https://duc.zevv.nl/

sudo apt install duc-nox
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: duc
  • 4 依赖
  • normalized package name match
  • 匹配方式:Duc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duc-nox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

duc 1.4.5-r0

Tool for inspecting disk usage

http://duc.zevv.nl/

sudo apk add duc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: duc
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Duc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

duc-doc 1.4.5-r0

Tool for inspecting disk usage (documentation)

http://duc.zevv.nl/

sudo apk add duc-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: duc
  • normalized package name match
  • 匹配方式:Duc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

duc 1.4.6-2.fc44

Disk usage tools

https://duc.zevv.nl/

sudo dnf install duc
  • License: LGPL-3.0-or-later AND MIT-Khronos-old
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: duc
  • 11 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Duc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

duc 1.4.6-1.3

Collection of tools for inspecting and visualizing disk usage

https://github.com/zevv/duc

sudo zypper install duc
  • License: LGPL-3.0-only
  • Category: System/Filesystems
  • Architecture: x86_64
  • Source Package: duc
  • 10 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Duc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: duc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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