# Install luit with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Filter run between arbitrary application and UTF-8 terminal emulator. Version 20250912 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:luit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install luit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install luit
```

  Evidence: MacPorts ports tree: x11/luit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install luit
```

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

- dnf (92%):

```sh
sudo dnf install luit
```

  Evidence: Fedora Rawhide package metadata: luit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#luit
```

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

- pacman (92%):

```sh
sudo pacman -S luit
```

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

- zypper (92%):

```sh
sudo zypper install luit
```

  Evidence: openSUSE Tumbleweed package metadata: luit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:luit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/luit>
- **Version:** 20250912
- **Source summary:** Filter run between arbitrary application and UTF-8 terminal emulator
- **Homepage:** <https://invisible-island.net/luit/>
- **Upstream docs:** <https://invisible-island.net/luit/luit.html>
- **License:** MIT
- **Source archive:** <https://invisible-mirror.net/archives/luit/luit-20250912.tgz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- luit (cli)
- luit (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 20250912
- Local data: ok
- Upstream repository: https://invisible-island.net/luit/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

luit is a terminal encoding filter that sits between an application and a UTF-8 terminal emulator, translating application output into UTF-8 and terminal input back into the locale encoding.

### Project history

Juliusz Chroboczek wrote luit for the XFree86 Project in 2001-2002. The official history credits later fixes and improvements from several people, especially Tomohiro Kubota's CJK encoding extensions, and notes that the program uses the MIT-X11 license like xterm.

Thomas E. Dickey adopted luit maintenance in 2006 after a period without a maintainer, motivated by keeping it useful with xterm. The Invisible Island history emphasizes two long-running maintenance themes: correcting distribution and path changes made in Xorg-era packaging, and reducing dependence on the lightly maintained font-encoding library by implementing efficient iconv-based conversion.

As of the 2.0 line, luit deprecated the font-encoding library path while preserving support for `.enc` files and broader encoding selection. The official page documents the practical consequences for packagers: encoding data is often packaged separately, dependencies are sometimes incomplete, and luit is not itself an X application even though it is most useful with xterm.

### Adoption history

luit began inside the XFree86 and Xorg terminal ecosystem and became a small but widely packaged Unix utility. The maintainer's page lists portability across SVR4 Unix, AIX, Tru64, BSD systems, macOS, and Linux, and the package appears in common Unix package sets such as Homebrew, Debian, Fedora, MacPorts, Nix, Arch, and openSUSE.

Its adoption is mostly invisible: users encounter it through xterm or legacy-locale workflows rather than as a standalone application. That invisibility is part of its packaging importance, because terminal emulators and old applications still need reliable conversion behavior when UTF-8 terminals meet non-UTF-8 programs.

### How it is used

The manpage describes luit as a filter run between an arbitrary application and a UTF-8 terminal emulator. It is mainly used with xterm, but the official page stresses that luit itself is not an X application.

Power users and packagers use options such as `-list-fontenc` and `-encoding` to inspect and choose encoding tables, especially when diagnosing missing CJK or legacy encoding data.

### Why package nerds care

luit matters to package nerds because it is a small compatibility utility with a long tail of platform-specific behavior. It exposes classic distribution issues: upstream fork history, XFree86/Xorg lineage, font-encoding data split into separate packages, iconv availability, and packagers accidentally adding unnecessary X library dependencies.

### Timeline

- 2001-2002: Written by Juliusz Chroboczek for XFree86.
- 2006: Thomas E. Dickey adopts maintenance to keep luit working with xterm.
- 2010: Xorg incorporates Dickey's luit work into its repository.
- 2013: luit 2.0 release line appears in the maintainer history.
- 2018-2022: Invisible Island page documents ongoing maintenance and portability notes.

### Related projects

- xterm is the primary terminal emulator associated with luit usage.
- XFree86 and Xorg are the historical source trees where luit circulated.
- iconv and font-encoding provide the conversion mechanisms and data paths discussed by the maintainer.

### Sources

- <https://formulae.brew.sh/formula/luit>
- <https://invisible-island.net/luit/luit.html>
- <https://invisible-island.net/luit/luit.log.html>
- <https://invisible-island.net/luit/manpage/luit.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** luit
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - luit - 2.0.20240910-1: normalized package name match | Debian stable package indexes: luit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | locale and ISO 2022 support for Unicode terminals | https://invisible-island.net/luit/
- Nix - luit: normalized package name match | nixpkgs package indexes: pkgs/by-name/lu/luit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - luit - 2.0.20250912-7.fc44: normalized package name match | Fedora Rawhide package metadata: luit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Locale and ISO 2022 support for Unicode terminals | https://invisible-island.net/luit/
- pacman - luit - 20250912-1: normalized package name match | Arch Linux sync databases: luit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Filter that can be run between an arbitrary application and a UTF-8 terminal emulator | https://invisible-island.net/luit/luit.html
- zypper - luit - 20230201-1.7: normalized package name match | openSUSE Tumbleweed package metadata: luit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Locale and ISO 2022 support for Unicode terminals | http://invisible-island.net/luit/
- MacPorts - luit: normalized package name match | MacPorts ports tree: x11/luit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://www.automicvault.com/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [vttest](https://www.automicvault.com/pkg/brew/vttest/) - Shares av.db curated category or tags: cli, system, terminal, xterm.
- [abduco](https://www.automicvault.com/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system, terminal.
- [cmatrix](https://www.automicvault.com/pkg/brew/cmatrix/) - Shares av.db curated category or tags: cli, system, terminal.
- [cocot](https://www.automicvault.com/pkg/brew/cocot/) - Shares av.db curated category or tags: cli, system, terminal.
- [colortail](https://www.automicvault.com/pkg/brew/colortail/) - Shares av.db curated category or tags: cli, system, terminal.
- [dtach](https://www.automicvault.com/pkg/brew/dtach/) - Shares av.db curated category or tags: cli, system, terminal.
- [gtop](https://www.automicvault.com/pkg/brew/gtop/) - Shares av.db curated category or tags: cli, system, terminal.
- [hwatch](https://www.automicvault.com/pkg/brew/hwatch/) - Shares av.db curated category or tags: cli, system, terminal.
- [lesspipe](https://www.automicvault.com/pkg/brew/lesspipe/) - Local package facts share a topical domain. Shared terms: cli, filter, system, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/luit.yml](https://github.com/automic-vault/db/blob/main/combined/luit.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
