Rootkit Hunter is a scanning tool for protecting your system from Malware and also help us from the extremely dangerous problem by attacking by remote systems and malicious software.

How to Install Rootkit Hunter :

Download the Rootkit hunter latest package from the URL using wget command,

#  Wget http://jaist.dl.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz

Extract the file and install that package
 
#  tar -zxvf rkhunter-1.4.2.tar.gz

#  cd rkhunter-1.4.2

#  ./install.sh --install

To find out rkhunter installed location
 
# whereis rkhunter

rkhunter: /etc/rkhunter.conf /usr/local/bin/rkhunter

Check version :
 
#  rkhunter --versioncheck

[ Rootkit Hunter version 1.4.2 ]

Checking rkhunter version...
  This version  : 1.4.2
  Latest version: 1.4.2

Do you want to scan your system, execute below command,

rkhunter --check
[ Rootkit Hunter version 1.4.2 ]

Checking system commands...
  Performing 'strings' command checks
    Checking 'strings' command                               [ OK ]

  Performing 'shared libraries' checks
    Checking for preloading variables                        [ None found ]
    Checking for preloaded libraries                         [ None found ]
    Checking LD_LIBRARY_PATH variable                        [ Not found ]

  Performing file properties checks
    Checking for prerequisites                               [ Warning ]
    /usr/local/bin/rkhunter                                  [ OK ]
    /sbin/chkconfig                                          [ OK ]
    /sbin/depmod                                             [ OK ]
    /sbin/fsck                                               [ OK ]
    /sbin/fuser                                              [ OK ]
    /sbin/ifconfig                                           [ OK ]


If you have decided to be installed that package specific location like /opt
 
# installer.sh --layout custom /opt --install

Log Location :

Checkout all the warning inrkhunter.log file
 
# nano /var/log/rkhunter.log

Update rkhunter :
 
# /usr/local/bin/rkhunter --update

Uninstallation :
 
# ./installer.sh --remove
Starting uninstallation