Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix, zypper 安装 di

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install di

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install di

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

Linux

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

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

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

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

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

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

概览

软件包摘要

Advanced df-like disk information utility

命令和别名

  • di

历史

项目历史与用法

di is a portable disk information utility that expands on the traditional df command. It reports disk usage in configurable formats and accounts for quotas so users can see space available to them rather than only system-wide filesystem capacity.

项目历史

The official homepage identifies di as a disk information utility and notes copyright from 1994 through 2021 by Brad Lanam. It emphasizes portability across heterogeneous networks and lists a large set of Unix and non-Unix systems to which di has been ported.

采用历史

di's official homepage documents long-term packaging and user attention: it links current package-manager availability, MacPorts and Homebrew entries for macOS, and articles ranging from a 1995 HP-UX/USR mention through later Linux magazine coverage. Version 5 added a shared library for retrieving disk-space information programmatically.

使用方式

The manual documents df-like reporting, file-specific filesystem lookup, selectable block and display sizes, custom output formats, CSV/tabular output, sorting, filesystem include/exclude lists, and quota-aware reporting.

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

di matters to package nerds because it is a decades-old portability play: one command that behaves consistently across many Unix variants where df output and filesystem details differ. It is the kind of small sysadmin tool that earns packages in many distributions by smoothing over platform differences.

时间线

  • 1994: Official license notice begins Brad Lanam's copyright period for di.
  • 1995: Official homepage lists HP-UX/USR article coverage.
  • 2002: Official homepage lists Linux Journal coverage.
  • Version 5: di adds a shared library API for disk-space information.
  • 2026: Official man page generation date shows continued documentation maintenance.

Related projects

  • df is the standard command-line tool di extends and competes with.
  • The SourceForge wiki documents the version 5 library API.

安全态势

风险级别:绿色

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 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://diskinfo-di.sourceforge.io/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://diskinfo-di.sourceforge.io/none 置信度

安装元数据

软件包元数据

软件包键brew:di
版本6.2.2.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/di
主页https://diskinfo-di.sourceforge.io/
仓库https://sourceforge.net/p/diskinfo-di/code
上游文档https://diskinfo-di.sourceforge.io/
许可证Zlib
源码归档https://downloads.sourceforge.net/project/diskinfo-di/di-6.2.2.2.tar.gz
构建依赖cmake, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

di 6.0.0-1+b1

advanced df like disk information utility

https://diskinfo-di.sourceforge.io/

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

libdi-dev 6.0.0-1+b1

Header files for libdi

https://diskinfo-di.sourceforge.io/

sudo apt install libdi-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: di
  • 1 依赖
  • normalized package name match
  • 匹配方式:Di
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdi6 6.0.0-1+b1

Common libraries for di

https://diskinfo-di.sourceforge.io/

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

di

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

di 4.52-2

advanced df like disk information utility

https://diskinfo-di.sourceforge.io/

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

di 6.2.2.2-1.3

Disk Information Utility

https://diskinfo-di.sourceforge.io/

sudo zypper install di
  • License: Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: di
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Di
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: di from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

di-devel 6.2.2.2-1.3

Development files for di

https://diskinfo-di.sourceforge.io/

sudo zypper install di-devel
  • License: Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: di
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Di
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: di-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libdi6 6.2.2.2-1.3

Disk Information Utility share library

https://diskinfo-di.sourceforge.io/

sudo zypper install libdi6
  • License: Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: di
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Di
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libdi6 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

di

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

来源线索

由仓库数据生成

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

Combined YAML source

View the package source record on GitHub.

combined/di.yml

使用的来源

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