# 使用 Homebrew, Nix 安装 lanraragi

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

## 安装

```sh
sudo av install brew:lanraragi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lanraragi
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#lanraragi
```

  证据: nixpkgs package indexes: pkgs/by-name/la/lanraragi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:lanraragi
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lanraragi>
- **版本:** 0.9.81
- **来源摘要:** Web application for archival and reading of manga/doujinshi
- **主页:** <https://lrr.tvc-16.science>
- **仓库:** <https://github.com/Difegue/LANraragi>
- **上游文档:** <https://lrr.tvc-16.science>
- **许可证:** MIT
- **源码归档:** <https://github.com/Difegue/LANraragi/archive/refs/tags/v.0.9.81.tar.gz>
- **最后更新:** 2026-07-07T02:24:37Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lanraragi (cli)
- lanraragi (别名)

## 依赖

- ghostscript
- imagemagick
- libarchive
- libffi
- node
- openssl@3
- perl
- redis
- zstd

## 构建依赖

- cpanminus
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.81
- 管理器更新时间: 2026-07-07
- 本地数据: OK
- 上游仓库: https://github.com/Difegue/LANraragi
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

LANraragi is a self-hosted web server for archiving and reading comics and manga, built around archive files, Mojolicious, Redis, plugins, and browser-based reading.

### 项目历史

The upstream README describes LANraragi as an open-source server for archival of comics and manga, running on Mojolicious and Redis. Its feature set grew around keeping archives in compressed formats, reading them from a web browser, exposing OPDS and client APIs, and importing metadata through plugins.

The release history shows a long-running hobbyist/self-hosted project with many themed releases. Version 0.7.8 was discussed on 2021-04-07 as a front-end improvement release. Version 0.8.7 was announced on 2022-10-14 with Windows installation fixes and Docker-related adjustments. Version 0.9.3 was discussed on 2024-12-28 with new plugins and API additions, and later 0.9.x releases continued API-client and downloader fixes.

### 采用历史

LANraragi's adoption is centered on self-hosters who keep manga/comic libraries on NAS, Docker hosts, or local servers. The README advertises Docker pulls, GitHub release downloads, Homebrew packaging, a demo site, Discord, GitHub Discussions, and hosted translation via Weblate, all of which point to a community-maintained media-server project rather than a single-purpose reader.

### 使用方式

Users point LANraragi at archive files such as zip, rar, 7z, cbz, cbr, PDF, and related formats. The server indexes them, serves a browser reader, exposes OPDS/API access for external readers, and can use plugins to import tags and metadata.

### 为什么软件包爱好者会关心

For package nerds, LANraragi is one of the more distinctive Homebrew media-server formulas: a Perl/Mojolicious and Redis application for a niche archive-library workflow. It matters less as a Unix primitive and more as a packaged self-hosted app that crosses Docker, NAS, Windows, and CLI service management.

### 时间线

- 2021-04-07: Version 0.7.8 discussion described front-end improvements.
- 2022-10-14: Version 0.8.7 discussion documented Windows install fixes and Docker adjustments.
- 2024-12-28: Version 0.9.3 discussion described new features, plugins, and API work.
- 2025-07-25: Version 0.9.21 release notes described an API-client hotfix.
- 2025-11-04: Version 0.9.22 release notes described a downloader hotfix.

### Related projects

- Related projects include Mojolicious, Redis, Docker, OPDS readers, comic archive formats such as CBZ/CBR, and metadata sources consumed by LANraragi plugins.

### 来源

- <https://github.com/Difegue/LANraragi>
- <https://github.com/Difegue/LANraragi/discussions/1135>
- <https://github.com/Difegue/LANraragi/discussions/445>
- <https://github.com/Difegue/LANraragi/discussions/704>
- <https://github.com/Difegue/LANraragi/releases>
- <https://raw.githubusercontent.com/Difegue/LANraragi/dev/README.md>
- <https://sugoi.gitbook.io/lanraragi>


## 安全说明

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: lrr.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lanraragi
- **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

## 其他软件包管理器记录

- Nix - lanraragi: normalized package name match | nixpkgs package indexes: pkgs/by-name/la/lanraragi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [imagemagick](https://pkg.so/zh-hans/brew/imagemagick/) - Runtime dependency declared by Homebrew.
- [libarchive](https://pkg.so/zh-hans/brew/libarchive/) - Runtime dependency declared by Homebrew.
- [redis](https://pkg.so/zh-hans/brew/redis/) - Runtime dependency declared by Homebrew.
- [ghostscript](https://pkg.so/zh-hans/brew/ghostscript/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cpanminus](https://pkg.so/zh-hans/brew/cpanminus/) - Build dependency declared by Homebrew.
- [lunarr](https://pkg.so/zh-hans/brew/lunarr/) - Shares pkgdb curated category or tags: cli, docker, media, self-hosted.
- [mpd](https://pkg.so/zh-hans/brew/mpd/) - Shares pkgdb curated category or tags: cli, media, server.
- [navidrome](https://pkg.so/zh-hans/brew/navidrome/) - Shares pkgdb curated category or tags: cli, media, server.
- [imgproxy](https://pkg.so/zh-hans/brew/imgproxy/) - Shares pkgdb curated category or tags: cli, media, server.
- [bk](https://pkg.so/zh-hans/brew/bk/) - Shares pkgdb curated category or tags: cli, media, reader.
- [tinyice](https://pkg.so/zh-hans/brew/tinyice/) - Shares pkgdb curated category or tags: cli, media, server.
- [qobine-web](https://pkg.so/zh-hans/brew/qobine-web/) - Shares pkgdb curated category or tags: cli, media, self-hosted.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: cli, media.
- [musikcube](https://pkg.so/zh-hans/brew/musikcube/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, media, openssl, openssl-3, server.

## Combined YAML source

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


## 来源

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