Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix, pacman 安装 unp

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install unp

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install unp

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

Linux

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

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

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

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

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

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

概览

软件包摘要

Unpack everything with one command

命令和别名

  • ucat
  • unp

历史

项目历史与用法

unp is a Perl command-line wrapper that chooses the right unpacking tool for an archive. Its own source says it runs the correct unpack program depending on filename extension or, where possible, file contents; the same script also provides `ucat`, a cat-like mode for compressed contents.

项目历史

The current script credits the original `unp` to Andre Karwath in 1997 and the modern 1.x/2.x UI to Eduard Bloch from 2000-2009. Debian's changelog records an initial Debian release as `unp` 0.0.1-1 on 2000-03-09 and a 1.0.0 upstream release on 2000-06-04.

The package evolved as archive formats and backend tools changed. The changelog records additions for CAB, ACE, TNEF, uuencode, MIME, hqx/binhex, afio, lzop, unzoo, ppmd, 7z, jar/war/ear, lzma, xz, zstd, InnoSetup, Nullsoft/7zip-based self-extracting archives, ISO images, and experimental InstallShield cabinet support through unshield.

采用历史

The supplied package metadata shows `unp` packaged across Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch/pacman, and other Unix-like package sets. Its long Debian changelog also shows the kind of maintenance trail common to small utility packages: dependency changes, backend recommendations, shell-completion fixes, translations, security quoting fixes, and compatibility with changing archive tools.

使用方式

The script's help text presents the normal workflow: pass one or more compressed files to `unp`, optionally use helper modes such as `-u` or `-U` to unpack into a directory, pass backend arguments after `--`, list supported formats with `-s`, or use `--dry-run` to print the calculated commands.

`ucat` is the related streaming mode: it uncompresses multiple file contents to standard output, acting as a wrapper around zcat, bzcat, and similar tools.

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

unp is package-nerd comfort food: a tiny wrapper whose entire point is to hide the messy zoo of archive commands behind one predictable verb. It matters less as a new compression implementation and more as glue over the installed ecosystem of unpackers, recommendations, alternatives, shell completions, and distribution policy.

The 2024 2.0 changelog entry is still about the same practical niche: switching the default recommendation toward 7zip, adding dry-run mode, generating bash completion at build time, fixing extension mappings, and adding experimental InstallShield handling via unshield.

时间线

  • 1997: Current source credits Andre Karwath's original `unp`.
  • 2000: Debian changelog records `unp` 0.0.1-1 and 1.0.0-1.
  • 2004: `ucat` is added as a zcat/bzcat-style wrapper.
  • 2010: 2.0 preview is described as a rewrite from scratch with `ucat` multicall use and bash completion.
  • 2023: 2.0 pre-release adds zstd, InnoSetup, Nullsoft installer, ISO, and 7zip-based support.
  • 2024: 2.0 adds dry-run mode, 7zip recommendation changes, completion generation, and experimental InstallShield cabinet support via unshield.

Related projects

  • unp delegates to many archive utilities rather than replacing them. Related tools and formats named in the upstream changelog and script include tar, gzip, bzip2, xz, lzma, zstd, 7zip, unrar/lhasa, cabextract, unshield, InnoSetup extractors, and `ucat` as its companion command.

安全态势

风险级别:绿色

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 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://tracker.debian.org/pkg/unp

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://tracker.debian.org/pkg/unpnone 置信度

安装元数据

软件包元数据

软件包键brew:unp
版本2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/unp
主页https://tracker.debian.org/pkg/unp
仓库https://salsa.debian.org/blade/unp
上游文档https://manpages.debian.org/unstable/unp/unp.1
许可证GPL-2.0-only
源码归档https://deb.debian.org/debian/pool/main/u/unp/unp_2.0.tar.xz
依赖p7zip
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

unp 2.0

unpack (almost) everything with one command

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

unp

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

unp 2.0

unpack (almost) everything with one command

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

unp 1:2.0-2

A script for unpacking a wide variety of archive formats

https://tracker.debian.org/pkg/unp

sudo pacman -S unp
  • License: GPL-2.0-only
  • Architecture: any
  • 1 依赖
  • 10 可选依赖
  • normalized package name match
  • 匹配方式:Unp
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: unp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

unp

sudo port install unp
  • normalized package name match
  • 匹配方式:Unp
MacPorts ports tree · api.github.com · MacPorts ports tree: archivers/unp/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