# lv を Homebrew, apt, dnf, MacPorts, Nix でインストール

lv のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:lv
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lv
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lv
```

  証拠: MacPorts ports tree: textproc/lv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install lv
```

  証拠: Debian stable package indexes: lv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lv
```

  証拠: Fedora Rawhide package metadata: lv 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#lv
```

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

## パッケージ情報

- **パッケージキー:** brew:lv
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/lv>
- **バージョン:** 4.51-10.1
- **ソース概要:** Powerful multi-lingual file viewer/grep
- **ホームページ:** <https://salsa.debian.org/debian/lv>
- **リポジトリ:** <https://salsa.debian.org/debian/lv>
- **上流ドキュメント:** <https://salsa.debian.org/debian/lv#readme>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://salsa.debian.org/debian/lv/-/archive/debian/4.51-10.1/lv-debian-4.51-10.1.tar.gz>
- **最終更新:** 2026-04-10T09:50:56Z
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- lgrep (cli)
- lv (cli)
- lgrep (エイリアス)
- lv (エイリアス)

## macOS 提供ライブラリ

- ncurses

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 4.51-10.1
- マネージャ更新日: 2026-04-10
- ローカルデータ: OK
- 上流リポジトリ: https://salsa.debian.org/debian/lv
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

lv is a multilingual file viewer and grep-like tool originally by NARITA Tomio. It looks like a less-style pager but adds character-set conversion, multilingual regular expressions, Unicode handling, and the `lgrep` mode.

### プロジェクトの歴史

The upstream README in the Debian source records copyright years beginning in 1996 and points to NARITA Tomio's original web documentation. The bundled man page describes lv as a completely original implementation, not code derived from less, grep, or other programs.

Release notes show active upstream work through the early 2000s, including Debian-related patches and portability fixes. Version 4.51 was released in January 2004, while later distribution maintenance continued through Debian packaging updates.

### 採用の歴史

lv's adoption is mostly distribution-driven rather than community-site driven. It survives in Debian, Ubuntu, Homebrew, MacPorts, Nix, Fedora-family packaging, and other Unix package collections because it solves a durable terminal problem: viewing and searching multilingual text on older and mixed-encoding systems.

The Debian changelog shows ongoing packaging maintenance into 2026, including modern compiler compatibility work, even though the upstream feature history is much older.

### 使われ方

Users run `lv` as a terminal pager and `lgrep` as the grep mode. The man page documents options for input, keyboard, output, pathname, and fallback coding systems, with examples for ISO-8859, Shift-JIS, EUC, Big5, HZ, UTF-7, and UTF-8.

The official man page documents a `.lv` configuration file in the user's home directory, an `_lv` file for MSDOS, and the `LV` environment variable. Command-line options are read last, so they override file and environment settings.

### パッケージ好きにとっての重要性

lv is the kind of old terminal utility package that remains valuable precisely because modern stacks still encounter old encodings. For package maintainers it is a small C program with a long tail: patches, portability fixes, and distro maintenance preserve behavior that newer pagers do not always cover.

### タイムライン

- 1996: Copyright start year recorded in the upstream README.
- 2003: Debian-related patches incorporated in upstream 4.50 release notes.
- 2004: lv 4.51 release notes published.
- 2026: Debian changelog records a compiler-compatibility non-maintainer upload.

### Related projects

- less is the familiar pager interface that lv intentionally resembles.
- nkf and tcs are comparable coding-system translation tools mentioned by the lv man page.
- grep is the model for the `lgrep` mode.

### ソース

- <https://salsa.debian.org/debian/lv/-/raw/master/README>
- <https://salsa.debian.org/debian/lv/-/raw/master/debian/changelog>
- <https://salsa.debian.org/debian/lv/-/raw/master/lv.1>
- <https://salsa.debian.org/debian/lv/-/raw/master/relnote.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.lv
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Debian apt - lv - 4.51-10: normalized package name match | Debian stable package indexes: lv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Powerful Multilingual File Viewer
- Nix - lv: normalized package name match | nixpkgs package indexes: pkgs/by-name/lv/lv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lv - 4.51-9: normalized package name match | Ubuntu 24.04 LTS package indexes: lv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Powerful Multilingual File Viewer
- dnf - lv - 4.51-57.fc44: normalized package name match | Fedora Rawhide package metadata: lv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A Powerful Multilingual File Viewer | http://www.ff.iij4u.or.jp/~nrt/lv/
- MacPorts - lv: normalized package name match | MacPorts ports tree: textproc/lv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [lv2](https://www.automicvault.com/ja/pkg/brew/lv2/) - Package name indicates the same formula family.
- [align](https://www.automicvault.com/ja/pkg/brew/align/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [bsdconv](https://www.automicvault.com/ja/pkg/brew/bsdconv/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [cconv](https://www.automicvault.com/ja/pkg/brew/cconv/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [cmigemo](https://www.automicvault.com/ja/pkg/brew/cmigemo/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [decasify](https://www.automicvault.com/ja/pkg/brew/decasify/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [desed](https://www.automicvault.com/ja/pkg/brew/desed/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [dos2unix](https://www.automicvault.com/ja/pkg/brew/dos2unix/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [enca](https://www.automicvault.com/ja/pkg/brew/enca/) - Shares av.db curated category or tags: cli, developer-tools, text-processing.
- [fex](https://www.automicvault.com/ja/pkg/brew/fex/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, powerful, processing.
- [fmpp](https://www.automicvault.com/ja/pkg/brew/fmpp/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, file, processing.

## Combined YAML source

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


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
