pkg.soopen package index

brew / 排名 1333

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 gdu

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gdu

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gdu

MacPorts ports tree · sysutils/gdu/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S gdu

Arch Linux sync databases · gdu · 来源: geo.mirror.pkgbuild.com

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

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

概览

软件包摘要

Disk usage analyzer with console interface written in Go

命令和别名

  • gdu-go

历史

项目历史与用法

gdu is a fast terminal disk-usage analyzer written in Go, intended especially for SSDs where parallel directory scanning can be used effectively.

项目历史

The official repository was created in 2018 and presents gdu as a Go disk-usage analyzer with a console interface. Its README emphasizes interactive, non-interactive, and export modes, and explains that Gdu is primarily intended for SSD disks while still supporting HDDs with less performance gain.

Over time gdu added YAML configuration, JSON export/import, database-backed saved analyses, archive browsing, profiling, file viewing and deletion controls, and terminal styling options, while remaining a single command-line utility.

采用历史

The official installation page lists packages or installation methods across Arch Linux, Debian, Ubuntu, NixOS, Homebrew, Mise, Snap, Binenv, Go, Winget, Scoop, X-cmd, and COPR builds. In Homebrew, the package is installed as gdu-go to avoid a conflict with GNU coreutils.

使用方式

Typical usage is running gdu against a directory or filesystem to browse large files interactively, or using non-interactive flags for summaries, top-N output, JSON export, ignored paths, age filters, and apparent-size or disk-usage views. Configuration is read from ~/.config/gdu/gdu.yaml or ~/.gdu.yaml.

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

gdu belongs to the modern wave of fast, packaged replacements for classic Unix inspection tools: a Go binary with cross-platform releases, package-manager breadth, and terminal UI ergonomics. Its Homebrew rename to gdu-go is a small but classic package-manager detail caused by command-name conflicts.

时间线

  • 2018: Official GitHub repository created.
  • 2024: v5.x line continued with regular releases.
  • 2026: v5.36.x releases published.

Related projects

  • gdu is related to classic du-style disk accounting tools and terminal disk analyzers. Its package-manager story is also related to GNU coreutils because Homebrew avoids installing it as gdu when that name would conflict.

安全态势

风险级别:绿色

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 个平台目标。
  • 构建元数据列出 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
~/.config/gdu/gdu.yaml~/.gdu.yaml

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本5.36.1
管理器更新时间2026-07-27
本地数据OK
上游当前
检测到的最新版本v5.36.1

https://github.com/dundee/gdu

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gdu
版本5.36.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gdu
主页https://github.com/dundee/gdu
仓库https://github.com/dundee/gdu
许可证MIT
源码归档https://github.com/dundee/gdu/archive/refs/tags/v5.36.1.tar.gz
最后更新2026-07-27T14:57:48+02:00
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项To avoid a conflict with `coreutils`, `gdu` has been installed as `gdu-go`.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegdu
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%

gdu 5.25.0-1+b8

Pretty fast disk usage analyzer

https://github.com/dundee/gdu

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

gdu

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

gdu 5.25.0-1

Pretty fast disk usage analyzer

https://github.com/dundee/gdu

sudo apt install gdu
  • Section: universe/admin
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gdu
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gdu 5.36.1-r1

Fast disk usage calculator with console interface

https://github.com/dundee/gdu

sudo apk add gdu
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdu
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gdu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gdu-doc 5.36.1-r1

Fast disk usage calculator with console interface (documentation)

https://github.com/dundee/gdu

sudo apk add gdu-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdu
  • normalized package name match
  • 匹配方式:Gdu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gdu 5.32.0-4.fc45

Fast disk usage analyzer with console interface written in Go

https://github.com/dundee/gdu

sudo dnf install gdu
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gdu
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gdu
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gdu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
pacman95%

gdu 5.36.1-1

Fast disk usage analyzer

https://github.com/dundee/gdu

sudo pacman -S gdu
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Gdu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gdu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gdu 5.32.0-1.7

Fast disk usage analyzer with console interface

https://github.com/dundee/gdu

sudo zypper install gdu
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gdu
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gdu
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gdu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

gdu

sudo port install gdu
  • normalized package name match
  • 匹配方式:Gdu
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/gdu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

gdu

choco install gdu
  • normalized package name match
  • 匹配方式:Gdu
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: gdu from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'
Scoop95%

main/gdu

scoop install main/gdu
  • normalized package name match
  • 匹配方式:Gdu
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gdu.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

dundee.gdu

winget install --id dundee.gdu -e
  • normalized package name match
  • 匹配方式:Gdu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: dundee.gdu from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • 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
  • pkg.so package database
  • pkgdb category and tag curation