wig command not found

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

Introduction

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

wig: command not found

or when using sudo you get the following error message

sudo: wig: command not found

Solutions to wig: command not found

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

In Ubuntu wig is provided by wig package.

wig is:

This package contains a web application information gathering tool, which can identify numerous Content Management Systems and other administrative applications.

The application fingerprinting is based on checksums and string matching of known files for different versions of CMSes. This results in a score being calculated for each detected CMS and its versions. Each detected CMS is displayed along with the most probable version(s) of it. The score calculation is based on weights and the amount of “hits” for a given checksum.

wig also tries to guess the operating system on the server based on the ‘server’ and ‘x-powered-by’ headers. A database containing known header values for different operating systems is included in wig, which allows wig to guess Microsoft Windows versions and Linux distribution and version.

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

sudo apt-get -y install wig

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

You can also use apt command to install wig.

sudo apt -y install wig

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

sudo aptitude install wig

Summary

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