Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, zypper 安装 dtrx

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dtrx

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dtrx

MacPorts ports tree · archivers/dtrx/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

概览

软件包摘要

Intelligent archive extraction

历史

项目历史与用法

dtrx, short for 'Do The Right eXtraction', is a small command-line archive extractor that tries to make archive unpacking predictable. Its point is cultural as much as technical: stop remembering the right `tar`, `unzip`, `cpio`, or decompressor flags and run one command.

项目历史

The current dtrx-py repository describes itself as a copy of Brett Smith's original dtrx project, with all credit attributed to the original author. The maintained Python 3 fork exists because the original Python 2-era package became difficult to keep in Linux distributions, with the README specifically citing Ubuntu 20.04+ removal from default package archives as motivation.

采用历史

dtrx has a long tail in Unix package managers: Homebrew, Debian/Ubuntu, Alpine, MacPorts, Nix, and openSUSE-style packaging all carry or have carried it. The modern dtrx-py project publishes releases to PyPI and GitHub to keep the tool installable for Python 3 systems.

使用方式

Users run `dtrx archive.tar.gz` or equivalent archive names and let the tool choose extraction behavior. Its attraction is avoiding accidental directory clutter, wrong flags, or inconsistent behavior across archive formats.

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

dtrx is a classic package-nerd utility: tiny, opinionated, and memorable because it wraps a messy Unix tool surface into one command. The Python 2 to Python 3 maintenance story also mirrors a common distribution-maintenance pattern, where useful old scripts survive through community continuation projects.

时间线

  • 2007: Original dtrx homepage published by Brett Smith.
  • 2020: dtrx-py GitHub repository created to carry Python 3 patches.
  • 2020s: dtrx-py releases are tagged and published to PyPI.

Related projects

  • Related tools include `tar`, `unzip`, `cpio`, `p7zip`, `unar`, and distribution archive helper scripts. The maintained project is directly related to Brett Smith's original dtrx repository.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:archive

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://pypi.org/project/dtrx/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://pypi.org/project/dtrx/none 置信度

安装元数据

软件包元数据

软件包键brew:dtrx
版本8.7.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dtrx
主页https://pypi.org/project/dtrx/
仓库https://github.com/dtrx-py/dtrx
上游文档https://github.com/dtrx-py/dtrx#readme
许可证GPL-3.0-or-later
源码归档https://files.pythonhosted.org/packages/12/c2/e678320a0051cbbe5de91d1836998bac858086852a135441d7d0bfddc1c1/dtrx-8.7.1.tar.gz
依赖p7zip, python@3.14, xz
macOS 提供的库bzip2, unzip
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

dtrx 8.5.3-3

intelligently extract multiple archive types

https://github.com/dtrx-py/dtrx

sudo apt install dtrx
  • Section: utils
  • Architecture: all
  • 11 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Dtrx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dtrx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dtrx

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

dtrx 8.5.3-1

intelligently extract multiple archive types

https://github.com/dtrx-py/dtrx

sudo apt install dtrx
  • Section: universe/utils
  • Architecture: all
  • 11 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Dtrx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dtrx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

dtrx 8.5.3-r2

Do The Right eXtraction

http://www.brettcsmith.org/2007/dtrx/

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

dtrx-pyc 8.5.3-r2

Precompiled Python bytecode for dtrx

http://www.brettcsmith.org/2007/dtrx/

sudo apk add dtrx-pyc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: dtrx
  • 1 依赖
  • normalized package name match
  • 匹配方式:Dtrx
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dtrx-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
zypper95%

dtrx 8.5.3-1.5

Intelligent Archive Extraction Tool

https://brettcsmith.org/2007/dtrx/

sudo zypper install dtrx
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: dtrx
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Dtrx
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dtrx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dtrx

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

来源线索

由仓库数据生成

此页面由 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment