nikto command not found

In this troubleshooting guide we learn how to fix nikto command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nikto: command not found

or when using sudo you get the following error message

sudo: nikto: command not found

Solutions to nikto: command not found

How To Fix nikto: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nikto is provided by nikto package.

nikto is:

Nikto is a pluggable web server and CGI scanner written in Perl, using rfp’s LibWhisker to perform fast security or informational checks.

Features:

  • Easily updatable CSV-format checks database
  • Output reports in plain text or HTML
  • Available HTTP versions automatic switching
  • Generic as well as specific server software checks
  • SSL support (through libnet-ssleay-perl)
  • Proxy support (with authentication)
  • Cookies support

To fix this problem, we can install more using the command below.

sudo apt-get -y install nikto

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nikto.

sudo apt -y install nikto

Or if you have aptitude installed you can use the following command.

sudo aptitude install nikto

Summary

In this tutorial we learn how to fix nikto command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.