# 使用 Homebrew, apt, MacPorts, Nix 安装 analog

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

## 安装

```sh
sudo av install brew:analog
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install analog
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install analog
```

  证据: MacPorts ports tree: www/analog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install analog
```

  证据: Debian stable package indexes: analog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#analog
```

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

## 软件包事实

- **软件包键:** brew:analog
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/analog>
- **版本:** 6.0.18
- **来源摘要:** Logfile analyzer
- **主页:** <https://www.c-amie.co.uk/software/analog/>
- **仓库:** <https://github.com/c-amie/analog-ce>
- **上游文档:** <https://www.c-amie.co.uk/software/analog/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/c-amie/analog-ce/archive/refs/tags/6.0.18.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- analog (cli)
- analog (别名)

## 依赖

- gd
- jpeg-turbo
- libpng
- minizip
- pcre2

## macOS 提供的库

- bzip2

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.0.18
- 本地数据: OK
- 上游仓库: https://github.com/c-amie/analog-ce
- 检测到的最新版本: 6.0.18 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Analog CE is the community-maintained continuation of Stephen Turner's Analog web-server logfile analyzer. The upstream CE README describes the Git repository as the official maintenance project for Turner's original parser.

### 项目历史

The bundled manpage identifies Analog as Stephen R. E. Turner's web server logfile analyzer, copyrighted 1995-2004, with version 6.0 dated 19 December 2004. It describes the program as fast log analysis software that produces attractive statistics and is usually configured through a configuration file rather than command-line options.

Analog CE was created after Turner stopped maintaining the original project. The CE maintainer states that CE is a maintenance release: newer binaries, updated browser and operating-system detection, XML output bug fixes, link privacy improvements, and a small number of optimizations, while preserving the fundamental functionality.

### 采用历史

Analog's original adoption came from the classic web-hosting era, when static reports over Apache and other server logs were a normal way to understand traffic. CE's adoption is more preservation-and-maintenance oriented: it keeps old workflows working while refreshing recognition of newer clients.

The supplied package facts show Analog packaged by Homebrew, Debian, MacPorts, Nix, and Ubuntu. That long tail is typical for mature Unix tools: even after the center of web analytics moved elsewhere, distributions kept the analyzer available for users with historical logs, simple reporting needs, or scripts built around its output.

### 使用方式

The `analog` executable analyzes one or more log files and can emit reports in formats such as HTML or plain text. The manpage documents a large option surface but says normal use is through configuration files.

CE is especially relevant when users need better detection of newer operating systems and web browsers, XML formatting fixes, or public statistics pages with improved link privacy.

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

Analog CE is a package-maintainer story about keeping a classic C-era web tool alive after upstream maintenance stopped. The value is compatibility: old config files, reports, and automation continue to work while the recognition database is refreshed.

For package nerds, it also illustrates why 'dead' tools remain in distributions. Log formats, cron jobs, and static reports can outlive the popularity cycle of web analytics products by decades.

### 时间线

- 1995: Analog copyright period begins according to the bundled manpage.
- 2004: Analog 6.0 manpage dated 19 December 2004.
- 2019: Analog CE GitHub repository created.
- Current CE README: maintainer describes CE as a maintenance release after Stephen Turner stopped maintaining Analog.

### Related projects

- Stephen Turner's original Analog: the upstream project that CE maintains.
- Report Magic: referenced by CE guides for report presentation workflows.
- Web server access logs: the data source Analog was designed to analyze.

### 来源

- <https://api.github.com/repos/c-amie/analog-ce>
- <https://github.com/c-amie/analog-ce>
- <https://github.com/c-amie/analog-ce#readme>
- <https://github.com/c-amie/analog-ce/blob/master/analog.man>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** analog
- **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 - analog - 2:6.0.17-3: normalized package name match | Debian stable package indexes: analog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | web server log analyzer | https://www.c-amie.co.uk/software/analog
- Nix - analog: normalized package name match | nixpkgs package indexes: pkgs/by-name/an/analog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - analog - 2:6.0.17-3: normalized package name match | Ubuntu 24.04 LTS package indexes: analog from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | web server log analyzer | https://www.c-amie.co.uk/software/analog
- MacPorts - analog: normalized package name match | MacPorts ports tree: www/analog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pcre2](https://pkg.so/zh-hans/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [gd](https://pkg.so/zh-hans/brew/gd/) - Runtime dependency declared by Homebrew.
- [angle-grinder](https://pkg.so/zh-hans/brew/angle-grinder/) - Shares pkgdb curated category or tags: analytics, cli, developer-tools, log-analysis, logs.
- [pgbadger](https://pkg.so/zh-hans/brew/pgbadger/) - Shares pkgdb curated category or tags: cli, developer-tools, log-analysis.
- [xclogparser](https://pkg.so/zh-hans/brew/xclogparser/) - Shares pkgdb curated category or tags: cli, developer-tools, logs.
- [stern](https://pkg.so/zh-hans/brew/stern/) - Shares pkgdb curated category or tags: cli, developer-tools, logs.
- [grafana](https://pkg.so/zh-hans/brew/grafana/) - Shares pkgdb curated category or tags: analytics, cli, developer-tools.
- [lnav](https://pkg.so/zh-hans/brew/lnav/) - Shares pkgdb curated category or tags: cli, developer-tools, logs.
- [grafana-alloy](https://pkg.so/zh-hans/brew/grafana-alloy/) - Shares pkgdb curated category or tags: cli, developer-tools, logs.
- [uvicorn](https://pkg.so/zh-hans/brew/uvicorn/) - Shares pkgdb curated category or tags: cli, developer-tools, web-server.
- [logstalgia](https://pkg.so/zh-hans/brew/logstalgia/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, libpng, log.

## Combined YAML source

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


## 来源

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