# Install lynis

Security and system auditing tool to harden systems. Version 3.1.6 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:lynis
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lynis
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lynis
```

  Evidence: MacPorts ports tree: security/lynis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add lynis
```

  Evidence: Alpine Linux edge package indexes: lynis from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install lynis
```

  Evidence: Debian stable package indexes: lynis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install lynis
```

  Evidence: Fedora Rawhide package metadata: lynis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#lynis
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ly/lynis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S lynis
```

  Evidence: Arch Linux sync databases: lynis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install lynis
```

  Evidence: openSUSE Tumbleweed package metadata: lynis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:lynis
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/lynis>
- **Version:** 3.1.6
- **Source summary:** Security and system auditing tool to harden systems
- **Homepage:** <https://cisofy.com/lynis/>
- **Repository:** <https://github.com/CISOfy/lynis>
- **Upstream docs:** <https://cisofy.com/documentation/lynis>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/CISOfy/lynis/archive/refs/tags/3.1.6.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- lynis (cli)
- lynis (alias)

## Install Behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 3.1.6
- Local data status: ok
- Upstream repository: https://github.com/CISOfy/lynis
- Upstream latest detected: 3.1.6 (current)
- info: No package-manager update timestamp was available.

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lynis
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - lynis - 3.1.4-1: normalized package name match | Debian stable package indexes: lynis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | security auditing tool for Unix based systems | https://cisofy.com/lynis/
- Nix - lynis: normalized package name match | nixpkgs package indexes: pkgs/by-name/ly/lynis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lynis - 3.0.9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: lynis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | security auditing tool for Unix based systems | https://cisofy.com/lynis/
- apk - lynis - 3.1.4-r0: normalized package name match | Alpine Linux edge package indexes: lynis from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Security and system auditing tool | https://cisofy.com/lynis/
- apk - lynis-bash-completion - 3.1.4-r0: normalized package name match | Alpine Linux edge package indexes: lynis-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for lynis | https://cisofy.com/lynis/
- apk - lynis-doc - 3.1.4-r0: normalized package name match | Alpine Linux edge package indexes: lynis-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Security and system auditing tool (documentation) | https://cisofy.com/lynis/
- dnf - lynis - 3.1.6-2.fc44: normalized package name match | Fedora Rawhide package metadata: lynis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Security and system auditing tool | https://cisofy.com/lynis/
- pacman - lynis - 3.1.6-1: normalized package name match | Arch Linux sync databases: lynis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Security and system auditing tool to harden Unix/Linux systems | https://cisofy.com/lynis/
- zypper - lynis - 3.1.6-2.2: normalized package name match | openSUSE Tumbleweed package metadata: lynis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Security and System auditing tool | https://cisofy.com/lynis/
- MacPorts - lynis: normalized package name match | MacPorts ports tree: security/lynis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/zh-hans/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [ssh-audit](https://www.automicvault.com/zh-hans/pkg/brew/ssh-audit/) - Shares av.db curated category or tags: auditing, cli, hardening, security, security-audit.
- [prowler](https://www.automicvault.com/zh-hans/pkg/brew/prowler/) - Shares av.db curated category or tags: auditing, cli, security.
- [ssh-mitm](https://www.automicvault.com/zh-hans/pkg/brew/ssh-mitm/) - Shares av.db curated category or tags: auditing, cli, security.
- [chain-bench](https://www.automicvault.com/zh-hans/pkg/brew/chain-bench/) - Shares av.db curated category or tags: auditing, cli, security.
- [nmap](https://www.automicvault.com/zh-hans/pkg/brew/nmap/) - Shares av.db curated category or tags: cli, security, security-audit.
- [kubescape](https://www.automicvault.com/zh-hans/pkg/brew/kubescape/) - Shares av.db curated category or tags: cli, hardening, security.
- [gnutls](https://www.automicvault.com/zh-hans/pkg/brew/gnutls/) - Shares av.db curated category or tags: cli, security.
- [gnupg](https://www.automicvault.com/zh-hans/pkg/brew/gnupg/) - Shares av.db curated category or tags: cli, security.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
