• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

rkhunter: command not found

by Deepika

rkhunter is a tool for searching a Linux system for rootkits and other malware. It is a command-line utility that scans the system for known malicious files, hidden directories, and other indicators of compromise. The tool can be used by system administrators and security professionals to detect and remove malicious software from a system.

Here are some of the main features of rkhunter:

  • Rootkit detection: rkhunter can detect known rootkits and other malware on a Linux system. The tool checks for suspicious files, directories, and processes that may be associated with a rootkit.
  • Malware detection: rkhunter can also detect other types of malware on a system. The tool checks for malicious files and directories that may be associated with malware infections.
  • Configuration checking: rkhunter can check the configuration of the system to ensure that it is secure. The tool checks for common configuration errors and vulnerabilities that could be exploited by attackers.
  • Log file checking: rkhunter can check system log files for signs of malicious activity. The tool checks for unusual log entries that may be associated with a security breach.

If you encounter the below error while running the command rkhunter:

rkhunter: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install rkhunter
Ubuntu apt-get install rkhunter
Arch Linux pacman -S rkhunter
Kali Linux apt-get install rkhunter
Fedora dnf install rkhunter
OS X brew install rkhunter
Raspbian apt-get install rkhunter

rkhunter Command Examples

1. Check a system for rootkits and malware:

# sudo rkhunter --check

2. Update rkhunter:

# sudo rkhunter --update

3. Print all available tests:

# sudo rkhunter --list

4. Display version:

# sudo rkhunter --versioncheck

5. Display help:

# sudo rkhunter --help

Summary

Overall, rkhunter is a useful tool for detecting and removing rootkits and other malware from a Linux system. It can also help identify configuration errors and other vulnerabilities that could be exploited by attackers. The tool is particularly useful for system administrators and security professionals who need to monitor the security of a Linux system.

Filed Under: Linux

Some more articles you might also be interested in …

  1. add-apt-repository: command not found
  2. RDEPENDS V/s DEPENDS in Yocto
  3. apktool – Reverse engineer APK files (Command Examples)
  4. pulseaudio Command Examples in Linux
  5. apt Command Examples in Linux
  6. resize2fs: commnd not found
  7. htpasswd Command Examples
  8. CentOS / RHEL LVM : Backing Up Volume Group Metadata
  9. clang-format: Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code
  10. mumble Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright