Automic VaultAutomic Vault

brew

Install lhasa with Homebrew, apt, dnf, Nix, pacman, zypper, apk, MacPorts

LHA implementation to decompress .lzh and .lzs archives. Version 0.6.0 via Homebrew; verified 2026-06-18.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lhasa

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install lha

MacPorts ports tree · archivers/lha/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install lhasa

Debian stable package indexes · lhasa · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install lhasa

Fedora Rawhide package metadata · lhasa · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#lhasa

nixpkgs package indexes · pkgs/by-name/lh/lhasa/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S lhasa

Arch Linux sync databases · lhasa · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install lhasa

openSUSE Tumbleweed package metadata · lhasa · source: download.opensuse.org

Alpine Linux apkverified · 92%
sudo apk add lha

Alpine Linux edge package indexes · lha · source: dl-cdn.alpinelinux.org

overview

Package summary

LHA implementation to decompress .lzh and .lzs archives

Commands and aliases

  • lha

history

Project history and usage

Lhasa is a free software implementation of the Unix LHA tool for reading LHA/LHarc `.lzh`, LArc `.lzs`, and related archive variants. It provides both a command-line `lha` compatible tool and a reusable library backend.

Project history

The project homepage frames Lhasa as a free replacement for the non-free Unix LHA tool, aiming to decompress as many LZH/LZS archive variants as possible and to match the original command-line output closely enough for compatibility with existing tools.

The README emphasizes reading/decompression rather than archive creation, compatibility with LArc and PMarc variants, and a regression test suite built from archives generated by different tools on different operating systems. GitHub releases show a public release line from 0.0.1 through 0.6.0.

Adoption history

Lhasa is packaged by many Unix-like distributions and ports systems, including Debian/Ubuntu, FreeBSD, OpenBSD, Homebrew, NetBSD pkgsrc, openSUSE, Void Linux, Alpine, Fedora/DNF, Arch, Nix, and MacPorts. Its adoption comes from archive compatibility rather than application glamour: people still need to unpack old `.lzh` and `.lzs` files.

How it is used

Users invoke the installed `lha` command to list or extract legacy archives, while developers can use the library backend for archive parsing. Because it tries to mimic the older Unix LHA interface, it can replace workflows that expect `lha` output.

Why package nerds care

Lhasa matters to package nerds as a small compatibility and preservation tool: it replaces a historically non-free archiver interface with an ISC-licensed implementation, keeps legacy Japanese/DOS-era archive formats accessible, and gives distributions a clean default for LHA extraction.

Timeline

  • 2015-04-20: GitHub releases list the 0.0.1 through 0.3.0 Lhasa releases.
  • 2016-03-31: Lhasa 0.3.1 was published as a GitHub release.
  • 2023-05-14: Lhasa 0.4.0 was published as a GitHub release.
  • 2025-08-02: Lhasa 0.5.0 was published as a GitHub release.
  • 2026-06-17: Lhasa 0.6.0 was published as a GitHub release.

Related projects

  • Lhasa is related to the original Unix LHA tool, LHarc/LHA archive formats, LArc `.lzs`, PMarc `.pma`, archive extraction tools, and distribution archive packages.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:archive,compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 4 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
lhacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.6.0
manager updated2026-06-18
local dataok
upstreamcurrent
latest detectedv0.6.0

https://github.com/fragglet/lhasa

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:lhasa
Version0.6.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lhasa
Homepagehttps://fragglet.github.io/lhasa/
Repositoryhttps://github.com/fragglet/lhasa
Upstream docshttps://fragglet.github.io/lhasa
LicenseISC
Source archivehttps://github.com/fragglet/lhasa/archive/refs/tags/v0.6.0.tar.gz
Last updated2026-06-18T00:53:01Z
Pulseupdated
Build dependenciesautoconf, automake, libtool, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

lhasa 0.4.0-1+b2

lzh archive decompressor

https://fragglet.github.io/lhasa/

sudo apt install lhasa
  • Section: utils
  • Architecture: amd64
  • Source Package: lhasa
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lhasa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblhasa-dev 0.4.0-1+b2

lzh decompression library - development files

https://fragglet.github.io/lhasa/

sudo apt install liblhasa-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lhasa
  • 1 dependencies
  • normalized package name match
  • Matched by: Lhasa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblhasa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblhasa0 0.4.0-1+b2

lzh archive decompression library

https://fragglet.github.io/lhasa/

sudo apt install liblhasa0
  • Section: libs
  • Architecture: amd64
  • Source Package: lhasa
  • 1 dependencies
  • normalized package name match
  • Matched by: Lhasa
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblhasa0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lhasa

nix profile install nixpkgs#lhasa
  • normalized package name match
  • Matched by: Lhasa
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lh/lhasa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lhasa 0.4.0-1build1

lzh archive decompressor

https://fragglet.github.io/lhasa/

sudo apt install lhasa
  • Section: universe/utils
  • Architecture: amd64
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lhasa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblhasa-dev 0.4.0-1build1

lzh decompression library - development files

https://fragglet.github.io/lhasa/

sudo apt install liblhasa-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: lhasa
  • 1 dependencies
  • normalized package name match
  • Matched by: Lhasa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblhasa-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblhasa0 0.4.0-1build1

lzh archive decompression library

https://fragglet.github.io/lhasa/

sudo apt install liblhasa0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: lhasa
  • 1 dependencies
  • normalized package name match
  • Matched by: Lhasa
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblhasa0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

lhasa 0.5.0-1.fc44

Free Software LHA implementation

https://fragglet.github.io/lhasa/

sudo dnf install lhasa
  • License: ISC
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lhasa
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lhasa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lhasa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lhasa-devel 0.5.0-1.fc44

Development files for Lhasa

https://fragglet.github.io/lhasa/

sudo dnf install lhasa-devel
  • License: ISC
  • Category: Unspecified
  • Architecture: i686
  • Source Package: lhasa
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lhasa-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lhasa-doc 0.5.0-1.fc44

Documentation for Lhasa

https://fragglet.github.io/lhasa/

sudo dnf install lhasa-doc
  • License: ISC AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lhasa
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lhasa-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

lhasa-libs 0.5.0-1.fc44

Free Software LHA implementation

https://fragglet.github.io/lhasa/

sudo dnf install lhasa-libs
  • License: ISC
  • Category: Unspecified
  • Architecture: i686
  • Source Package: lhasa
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lhasa-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lhasa 0.5.0-1

Free LZH/LHA archive tool

https://github.com/fragglet/lhasa

sudo pacman -S lhasa
  • License: ISC
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lhasa
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lhasa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lhasa 0.5.0-1.3

Program to unpack LHARC archives

http://fragglet.github.com/lhasa/

sudo zypper install lhasa
  • License: ISC
  • Category: Productivity/Archiving/Compression
  • Architecture: x86_64
  • Source Package: lhasa
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Lhasa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lhasa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

lhasa-devel 0.5.0-1.3

Development files for liblhasa, a LHARC decompression library

http://fragglet.github.com/lhasa/

sudo zypper install lhasa-devel
  • License: ISC
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: lhasa
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lhasa-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

liblhasa0 0.5.0-1.3

A decompression library for the LHARC data format

http://fragglet.github.com/lhasa/

sudo zypper install liblhasa0
  • License: ISC
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: lhasa
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Lhasa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblhasa0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts94%

lha

sudo port install lha
  • installed executable or alias match
  • Matched by: Lha
MacPorts ports tree · api.github.com · MacPorts ports tree: archivers/lha/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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