recon-web command not found

In this troubleshooting guide we learn how to fix recon-web command not found error message

Introduction

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

recon-web: command not found

or when using sudo you get the following error message

sudo: recon-web: command not found

Solutions to recon-web: command not found

How To Fix recon-web: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu recon-web is provided by recon-ng package.

recon-ng is:

Recon-ng is a full-featured Web Reconnaissance framework written in Python. Complete with independent modules, database interaction, built in convenience functions, interactive help, and command completion, Recon-ng provides a powerful environment in which open source web-based reconnaissance can be conducted quickly and thoroughly.

Recon-ng has a look and feel similar to the Metasploit Framework, reducing the learning curve for leveraging the framework. However, it is quite different. Recon-ng is not intended to compete with existing frameworks, as it is designed exclusively for web-based open source reconnaissance. If you want to exploit, use the Metasploit Framework. If you want to Social Engineer, use the Social Engineer Toolkit.

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

sudo apt-get -y install recon-ng

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

You can also use apt command to install recon-ng.

sudo apt -y install recon-ng

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

sudo aptitude install recon-ng

Summary

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