# lhasa mit Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper, apk installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lhasa in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:lhasa
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install lhasa
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lhasa
```

  Evidenz: MacPorts ports tree: archivers/lhasa/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install lhasa
```

  Evidenz: Debian stable package indexes: lhasa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lhasa
```

  Evidenz: Fedora Rawhide package metadata: lhasa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lhasa
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/lh/lhasa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lhasa
```

  Evidenz: Arch Linux sync databases: lhasa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lhasa
```

  Evidenz: openSUSE Tumbleweed package metadata: lhasa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- apk (92%):

```sh
sudo apk add lha
```

  Evidenz: Alpine Linux edge package indexes: lha from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

## Paketfakten

- **Paketschlüssel:** brew:lhasa
- **Paketmanager:** Homebrew
- **Version:** 0.6.0
- **Quellzusammenfassung:** LHA implementation to decompress .lzh and .lzs archives
- **Homepage:** <https://fragglet.github.io/lhasa/>
- **Repository:** <https://github.com/fragglet/lhasa>
- **Zuletzt aktualisiert:** 2026-07-28T13:57:49+09:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- lha (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.6.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://formulae.brew.sh/formula/lhasa>
- <https://fragglet.github.io/lhasa>
- <https://github.com/fragglet/lhasa/releases>
- <https://raw.githubusercontent.com/fragglet/lhasa/master/README.md>


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Andere Paketmanager-Einträge

- Debian apt - lhasa - 0.4.0-1+b2: normalized package name match | Debian stable package indexes: lhasa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lzh archive decompressor | https://fragglet.github.io/lhasa/
- Debian apt - liblhasa-dev - 0.4.0-1+b2: normalized package name match | Debian stable package indexes: liblhasa-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lzh decompression library - development files | https://fragglet.github.io/lhasa/
- Debian apt - liblhasa0 - 0.4.0-1+b2: normalized package name match | Debian stable package indexes: liblhasa0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lzh archive decompression library | https://fragglet.github.io/lhasa/
- Nix - lhasa: normalized package name match | nixpkgs package indexes: pkgs/by-name/lh/lhasa/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lhasa - 0.4.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: lhasa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lzh archive decompressor | https://fragglet.github.io/lhasa/
- Ubuntu apt - liblhasa-dev - 0.4.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblhasa-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lzh decompression library - development files | https://fragglet.github.io/lhasa/
- Ubuntu apt - liblhasa0 - 0.4.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblhasa0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lzh archive decompression library | https://fragglet.github.io/lhasa/
- dnf - lhasa - 0.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: lhasa from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Free Software LHA implementation | https://fragglet.github.io/lhasa/
- dnf - lhasa-devel - 0.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: lhasa-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for Lhasa | https://fragglet.github.io/lhasa/
- dnf - lhasa-doc - 0.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: lhasa-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for Lhasa | https://fragglet.github.io/lhasa/
- dnf - lhasa-libs - 0.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: lhasa-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Free Software LHA implementation | https://fragglet.github.io/lhasa/
- pacman - lhasa - 0.5.0-1: normalized package name match | Arch Linux sync databases: lhasa from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Free LZH/LHA archive tool | https://github.com/fragglet/lhasa
- zypper - lhasa - 0.6.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: lhasa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Program to unpack LHARC archives | http://fragglet.github.com/lhasa/
- zypper - lhasa-devel - 0.6.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: lhasa-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for liblhasa, a LHARC decompression library | http://fragglet.github.com/lhasa/
- zypper - liblhasa0 - 0.6.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: liblhasa0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A decompression library for the LHARC data format | http://fragglet.github.com/lhasa/
- MacPorts - lhasa: normalized package name match | MacPorts ports tree: archivers/lhasa/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/lhasa.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lhasa.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
