macOS
brew install unarlocal Homebrew formula metadata
sudo port install unarMacPorts ports tree · archivers/unar/Portfile · 来源: api.github.com
安装
brew install unarlocal Homebrew formula metadata
sudo port install unarMacPorts ports tree · archivers/unar/Portfile · 来源: api.github.com
sudo dnf install unarFedora Rawhide package metadata · unar · 来源: dl.fedoraproject.org
nix profile install nixpkgs#unarnixpkgs package indexes · pkgs/by-name/un/unar/package.nix · 来源: api.github.com
sudo zypper install unaropenSUSE Tumbleweed package metadata · unar · 来源: download.opensuse.org
scoop install main/unarScoop official bucket manifest trees · bucket/unar.json · 来源: api.github.com
概览
Command-line unarchiving tools supporting multiple formats
历史
unar packages the command-line side of The Unarchiver/XADMaster: `unar` extracts archive contents and `lsar` lists them. Its history is tied to the Mac utility The Unarchiver, but the CLI became valuable on Unix-like systems because the same engine handles many ordinary, proprietary, old, and obscure archive formats.
The official command-line page explains that The Unarchiver is a macOS app while the underlying unarchiving code can run on other operating systems, exposed through the `unar` and `lsar` command-line tools for macOS, Windows, and Linux.
The XADMaster README describes the engine as an Objective-C library for archive and file unarchiving and extraction. It supports formats such as Zip, Tar, Gzip, Bzip2, 7-Zip, RAR, LhA, StuffIt, Amiga archives, CAB, and LZX; uses libxad for old and obscure formats; and notes that it was originally developed by Dag Agren.
MacPaw's 2017 acquisition announcement says it bought The Unarchiver, promised to maintain it, improve it, and keep it free. The command-line code remained available through the XADMaster repository, with GitHub releases continuing through v1.10.8 in 2023.
The official command-line page documents binary downloads for macOS and Windows and notes Ubuntu 12.04 packages under the package name `unar`. The input package metadata shows wider packaging across Homebrew, Debian, Fedora, MacPorts, Nix, Scoop, Ubuntu, and openSUSE.
In package-manager culture, `unar` spread because archive extraction is a recurring automation problem and the standard base tools do not cover the long tail of RAR, StuffIt, old Mac, Amiga, disk-image, and installer formats.
`unar` is used when a script or shell user needs extraction; `lsar` is used to inspect archive contents first. The official page gives package-manager installation examples and source build instructions for Linux with GNUstep and compression-library dependencies.
The package is especially useful in archival, reverse-engineering, data-recovery, and media-library workflows where the input archive format is unknown or old. It is less about compression creation and more about robust unpacking.
unar is a package-nerd favorite because it turns a broad, format-savvy desktop unarchiver into a scriptable CLI. It fills the gap between base `tar`/`unzip` utilities and format-specific tools such as `unrar`.
Its long-tail format support also makes it valuable for reproducible package tests and historical software archives: a package manager can install one tool that understands many weird archives.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lsar | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
unar | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:unar |
|---|---|
| 版本 | 1.10.8 |
| 软件包管理器 | Homebrew |
| 主页 | https://theunarchiver.com/command-line |
| 仓库 | https://github.com/MacPaw/XADMaster |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
unar 1.10.8+ds1-9
Unarchiver for a variety of file formats
https://theunarchiver.com/command-line
sudo apt install unarunar
nix profile install nixpkgs#unarunar 1.10.7+ds1+really1.10.1-3build1
Unarchiver for a variety of file formats
https://theunarchiver.com/command-line
sudo apt install unarunar 1.10.8-17.fc45
Multi-format extractor
https://theunarchiver.com/command-line
sudo dnf install unarunar 1.10.8-3.8
Multi-format unarchiver
https://unarchiver.c3.cx/commandline
sudo zypper install unarunar
sudo port install unarmain/unar
scoop install main/unar来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.