# Install logcheck with Homebrew, apk, apt, Nix, zypper

Mail anomalies in the system logfiles to the administrator. Version 1.4.7 via Homebrew; verified from local package data. Also installable with debian: sudo apt install logcheck.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install logcheck
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add logcheck
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:logcheck
- **Package manager:** Homebrew
- **Version:** 1.4.7
- **Source summary:** Mail anomalies in the system logfiles to the administrator
- **Homepage:** <https://packages.debian.org/sid/logcheck>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- logcheck (alias)
- logcheck-test (alias)
- logtail (alias)
- logtail2 (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.4.7
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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/*
## Other Package-Manager Records

- 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)


## Sources

- 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
