# Installer lhasa avec Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper, apk

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lhasa pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install lhasa
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lhasa
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:lhasa
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.6.0
- **Résumé source:** LHA implementation to decompress .lzh and .lzs archives
- **Page d'accueil:** <https://fragglet.github.io/lhasa/>
- **Dépôt:** <https://github.com/fragglet/lhasa>
- **Dernière mise à jour:** 2026-07-28T13:57:49+09:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- lha (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.6.0
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

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

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
