urlscan command not found

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

Introduction

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

urlscan: command not found

or when using sudo you get the following error message

sudo: urlscan: command not found

Solutions to urlscan: command not found

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

In Ubuntu urlscan is provided by urlscan package.

urlscan is:

urlscan searches for URLs in email messages, then displays a list of them in the current terminal. It is primarily meant as a replacement for urlview, which it improves upon in the following ways:

  • urlscan understands email encodings such as quoted-printable; urlview does not.
  • urlscan extracts and displays the context surrounding each URL.

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

sudo apt-get -y install urlscan

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

You can also use apt command to install urlscan.

sudo apt -y install urlscan

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

sudo aptitude install urlscan

Summary

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