# logcheck を Homebrew, apk, apt, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:logcheck
```

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

### macOS

- Homebrew (100%):

```sh
brew install logcheck
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add logcheck
```

  証拠: Alpine Linux edge package indexes: logcheck from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install logcheck
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#logcheck
```

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

- zypper (92%):

```sh
sudo zypper install logtail
```

  証拠: openSUSE Tumbleweed package metadata: logtail from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:logcheck
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.4.7
- **ソース概要:** Mail anomalies in the system logfiles to the administrator
- **ホームページ:** <https://packages.debian.org/sid/logcheck>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- logcheck (エイリアス)
- logcheck-test (エイリアス)
- logtail (エイリアス)
- logtail2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

logcheck is a Debian-oriented log monitoring tool that scans system logs for unexpected entries and emails reports to the administrator. It focuses on filtering routine messages out so security violations, attack alerts, and unusual system events stand out.

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

Debian's package page says logcheck was originally part of the Abacus Project security tools and was later rewritten. The Debian repository's change notes describe the Debian package becoming effectively Debian-native after a major overhaul around version 1.1.9.1 because Debian's version had diverged substantially from the old upstream 1.1.1 code.

The current Debian Salsa repository presents logcheck as the maintained source home for Debian packaging, with the project description centered on mailing summaries of log file entries to administrators via cron.

### 採用の歴史

logcheck's adoption is strongest in Debian-family systems, where its manpages, package page, and logcheck-database rules are first-class distribution artifacts. The supplied package metadata also records package availability in Homebrew, Alpine, Nix, openSUSE, Debian, and Ubuntu.

The package belongs to an older Unix administration style: periodic cron jobs, regex rule directories in /etc, and email to root or an administrator. That style remains useful on servers where a small local checker is preferable to a centralized log pipeline.

### 使われ方

The logcheck command runs by default as an hourly cron job and after reboot. It filters messages at paranoid, server, or workstation levels, sorts reports into system events, security events, and attack alerts, and sends email only when messages survive the rules.

Administrators tune it through `/etc/logcheck/logcheck.conf`, monitored-file lists, and rule directories such as cracking.d, violations.d, violations.ignore.d, and ignore.d.*. The logcheck-database documentation emphasizes writing precise extended regular expressions and testing new rules with logcheck-test.

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

logcheck is a packaging-culture artifact: much of its value lives in distribution-maintained regex databases and package-specific rule files, not in a large binary. It is a useful example of Debian packaging acting as upstream stewardship for a security-administration workflow.

### タイムライン

- Pre-1.1.9.1: logcheck originates in the Abacus Project security tools and is later rewritten.
- 1.1.9.1: Debian change notes describe a major overhaul and larger config/rulefile changes.
- 2018: Debian Salsa project page records repository creation on May 13, 2018.
- Current: Debian manpages document hourly cron use, report levels, and /etc/logcheck configuration.

### Related projects

- logtail: used by logcheck workflows to process recent log messages.
- logcheck-database: the companion rules package that supplies regular-expression filters.

### ソース

- <https://manpages.debian.org/testing/logcheck/logcheck.8.en.html>
- <https://packages.debian.org/sid/logcheck>
- <https://salsa.debian.org/debian/logcheck>
- <https://salsa.debian.org/debian/logcheck/-/raw/debian/sid/CHANGES>
- <https://salsa.debian.org/debian/logcheck/-/raw/debian/sid/docs/README.logcheck-database>


## セキュリティノート

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: /etc/logcheck/logcheck.conf, /etc/logcheck/*.d/*
## 他のパッケージマネージャ記録

- Debian apt - logcheck - 1.4.5+deb13u1: normalized package name match | Debian stable package indexes: logcheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | check the system log for unusual entries
- Debian apt - logcheck-database - 1.4.5+deb13u1: normalized package name match | Debian stable package indexes: logcheck-database from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | database of system log rules for logcheck
- Debian apt - logtail - 1.4.5+deb13u1: normalized package name match | Debian stable package indexes: logtail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Identify new lines added to the end of log files
- Nix - logcheck: normalized package name match | nixpkgs package indexes: pkgs/by-name/lo/logcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - logcheck - 1.4.3: normalized package name match | Ubuntu 24.04 LTS package indexes: logcheck from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | check the system log for unusual entries
- Ubuntu apt - logcheck-database - 1.4.3: normalized package name match | Ubuntu 24.04 LTS package indexes: logcheck-database from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | database of system log rules for logcheck
- Ubuntu apt - logtail - 1.4.3: normalized package name match | Ubuntu 24.04 LTS package indexes: logtail from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Identify new lines added to the end of log files
- apk - logcheck - 1.4.7-r0: normalized package name match | Alpine Linux edge package indexes: logcheck from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Bash scripts used to monitor system log files for anomalies | https://packages.debian.org/source/sid/logcheck
- apk - logcheck-doc - 1.4.7-r0: normalized package name match | Alpine Linux edge package indexes: logcheck-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Bash scripts used to monitor system log files for anomalies (documentation) | https://packages.debian.org/source/sid/logcheck
- apk - logtail - 3.22-r3: installed executable or alias match | Alpine Linux edge package indexes: logtail from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Print new lines in log file since the last run (sf.net logtail-v3 ver) | https://logtail-v3.sourceforge.net/
- zypper - logtail - 0.2.4-21.9: installed executable or alias match | openSUSE Tumbleweed package metadata: logtail from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Helper application to analyze logfiles | http://sourceforge.net/projects/logdigest


## Combined YAML source

View the package source record on GitHub. [combined/logcheck.yml](https://github.com/mxcl/pkgdb/blob/main/combined/logcheck.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
