# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **バージョン:** 4.51-10.1
- **ソース概要:** Powerful multi-lingual file viewer/grep
- **ホームページ:** <https://salsa.debian.org/debian/lv>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

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

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.51-10.1
## プロジェクトの歴史と使われ方

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
## 他のパッケージマネージャ記録

- 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-58.fc45: normalized package name match | Fedora Rawhide package metadata: lv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## ソース

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