# 使用 Homebrew, apt, dnf, MacPorts, pacman 安装 rkhunter

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

## 安装

```sh
sudo av install brew:rkhunter
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rkhunter
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rkhunter
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install rkhunter
```

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

- dnf (92%):

```sh
sudo dnf install rkhunter
```

  证据: Fedora Rawhide package metadata: rkhunter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S rkhunter
```

  证据: Arch Linux sync databases: rkhunter from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:rkhunter
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rkhunter>
- **版本:** 1.4.6
- **来源摘要:** Rootkit hunter
- **主页:** <https://rkhunter.sourceforge.net/>
- **上游文档:** <https://rkhunter.sourceforge.net/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.6/rkhunter-1.4.6.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- rkhunter (cli)
- rkhunter (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.4.6
- 本地数据: OK
- 上游仓库: https://rkhunter.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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/rkhunter.conf, /usr/local/etc/rkhunter.conf
## 源数据库详情

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

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

- Debian apt - rkhunter - 1.4.6-13: normalized package name match | Debian stable package indexes: rkhunter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | rootkit, backdoor, sniffer and exploit scanner | https://rkhunter.sourceforge.net
- Ubuntu apt - rkhunter - 1.4.6-12: normalized package name match | Ubuntu 24.04 LTS package indexes: rkhunter from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | rootkit, backdoor, sniffer and exploit scanner | https://rkhunter.sourceforge.net
- dnf - rkhunter - 1.4.6-33.fc45: normalized package name match | Fedora Rawhide package metadata: rkhunter from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A host-based tool to scan for rootkits, backdoors and local exploits | http://rkhunter.sourceforge.net/
- pacman - rkhunter - 1.4.6-4: normalized package name match | Arch Linux sync databases: rkhunter from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Checks machines for the presence of rootkits and other unwanted tools. | http://rkhunter.sourceforge.net/
- MacPorts - rkhunter: normalized package name match | MacPorts ports tree: sysutils/rkhunter/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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [chkrootkit](https://pkg.so/zh-hans/brew/chkrootkit/) - Shares pkgdb curated category or tags: cli, malware-detection, rootkit, security.
- [aide](https://pkg.so/zh-hans/brew/aide/) - Shares pkgdb curated category or tags: cli, intrusion-detection, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [krb5](https://pkg.so/zh-hans/brew/krb5/) - Shares pkgdb curated category or tags: cli, security.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, security.
- [libcap](https://pkg.so/zh-hans/brew/libcap/) - Shares pkgdb curated category or tags: cli, security.
- [nss](https://pkg.so/zh-hans/brew/nss/) - Shares pkgdb curated category or tags: cli, security.
- [pinentry](https://pkg.so/zh-hans/brew/pinentry/) - Shares pkgdb curated category or tags: cli, security.
- [clamav](https://pkg.so/zh-hans/brew/clamav/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, detection, malware, malware-detection, security.

## Combined YAML source

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


## 来源

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