macOS
brew install unplocal Homebrew formula metadata
sudo port install unpMacPorts ports tree · archivers/unp/Portfile · 来源: api.github.com
安装
brew install unplocal Homebrew formula metadata
sudo port install unpMacPorts ports tree · archivers/unp/Portfile · 来源: api.github.com
nix profile install nixpkgs#unpnixpkgs package indexes · pkgs/by-name/un/unp/package.nix · 来源: api.github.com
sudo pacman -S unpArch Linux sync databases · unp · 来源: geo.mirror.pkgbuild.com
概览
Unpack everything with one command
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ucat | cli | 全局可执行文件 | |
unp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://tracker.debian.org/pkg/unp
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | unp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
unp 2.0
unpack (almost) everything with one command
sudo apt install unpunp
nix profile install nixpkgs#unpunp 2.0
unpack (almost) everything with one command
sudo apt install unpunp 1:2.0-2
A script for unpacking a wide variety of archive formats
https://tracker.debian.org/pkg/unp
sudo pacman -S unpunp
sudo port install unp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.