Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 lzsa

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lzsa

local Homebrew formula metadata

Linux

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

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

概览

软件包摘要

Lossless packer that is optimized for fast decompression on 8-bit micros

命令和别名

  • lzsa

历史

项目历史与用法

LZSA is Emmanuel Marty's byte-aligned lossless packer family optimized for very fast decompression on 8-bit computers. Its upstream README describes LZSA1 and LZSA2 as formats designed to beat familiar retrocomputing tradeoffs: LZSA1 as an LZ4-like choice for 8-bit scenarios, and LZSA2 as a ZX7-like choice with much faster decompression.

项目历史

LZSA is not a general Unix compressor in the gzip tradition. It is a modern tool built for old hardware constraints: small decompressors, simple byte-aligned decoding, limited 8-bit arithmetic, and assets that must unpack quickly on Z80, 6502, 8088, 6809, 6309, and related targets.

The repository combines a command-line compressor, formal stream/block format documents, benchmark comparisons, and contributed assembly depackers. Releases through the 1.3 and 1.4 series focused on ratio improvements, faster LZSA2 compression, and a growing collection of platform-specific depackers.

采用历史

LZSA's adoption is concentrated in retrocomputing, demoscene, and homebrew game development rather than mainstream system archives. The official README lists concrete uses including ZX Spectrum demos, Apple II projects, Commander X16 ROM work, RomWBW, rasm-compressed data sections, and Amstrad CPC game assets.

Package-manager adoption is correspondingly smaller than LZ4 or lzip. The input package facts show Homebrew and Nix packages, enough to make the compressor easy to install on developer machines even though the decompression targets are often vintage CPUs.

使用方式

Developers run the lzsa tool on modern systems to pack assets, then include the matching depacker on the target machine. The key choice is not just compression ratio but the decompressor's speed and code size on a specific CPU.

The upstream format documentation supports implementers who need to write or audit their own depackers, which is common in size-constrained retro projects.

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

LZSA is package-nerd significant because it is a niche tool with real cross-compilation value: the package runs on modern macOS/Linux build hosts but exists to feed 8-bit runtime environments.

It also shows a different kind of compression packaging pressure. For LZSA, the artifact that matters may be a 67-byte Z80 depacker or a 6502 speed-optimized routine, not a shared library ABI.

时间线

  • 2010s: LZSA appears as a retrocomputing-focused compressor and format family.
  • 2019-2020: Upstream README records use in demos, games, and ROM projects across Z80, 6502, and related systems.
  • 2023: GitHub releases include the 1.4.x series, continuing performance and depacker work.

Related projects

  • LZ4 is an explicit design reference for LZSA1.
  • ZX7 is an explicit comparison point for LZSA2.
  • Lizard/LZ5 and other optimal packers appear in upstream comparisons.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:compress

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.4.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本1.4.1

https://github.com/emmanuel-marty/lzsa

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:lzsa
版本1.4.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lzsa
主页https://github.com/emmanuel-marty/lzsa
仓库https://github.com/emmanuel-marty/lzsa
上游文档https://github.com/emmanuel-marty/lzsa#readme
许可证Zlib AND CC0-1.0
源码归档https://github.com/emmanuel-marty/lzsa/archive/refs/tags/1.4.1.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

lzsa

nix profile install nixpkgs#lzsa
  • normalized package name match
  • 匹配方式:Lzsa
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lz/lzsa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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