Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix 安装 lv

查看 lv 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lv

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lv

MacPorts ports tree · textproc/lv/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install lv

Debian stable package indexes · lv · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lv

Fedora Rawhide package metadata · lv · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#lv

nixpkgs package indexes · pkgs/by-name/lv/lv/package.nix · 来源: api.github.com

概览

软件包摘要

Powerful multi-lingual file viewer/grep

命令和别名

  • lgrep
  • lv

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.lv

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lgrepcli全局可执行文件
lvcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本4.51-10.1
管理器更新时间2026-04-10
本地数据OK
上游not checked
检测到的最新版本未检测到

https://salsa.debian.org/debian/lv

安装元数据

软件包元数据

软件包键brew:lv
版本4.51-10.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lv
主页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
Pulseupdated
macOS 提供的库ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelv
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

lv 4.51-10

Powerful Multilingual File Viewer

sudo apt install lv
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Lv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lv

nix profile install nixpkgs#lv
  • normalized package name match
  • 匹配方式:Lv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lv/lv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lv 4.51-9

Powerful Multilingual File Viewer

sudo apt install lv
  • Section: universe/text
  • Architecture: amd64
  • 2 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Lv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

lv 4.51-57.fc44

A Powerful Multilingual File Viewer

http://www.ff.iij4u.or.jp/~nrt/lv/

sudo dnf install lv
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: lv
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lv
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

lv

sudo port install lv
  • normalized package name match
  • 匹配方式:Lv
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/lv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/lv.yml

使用的来源

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