airscan-discover command not found

In this troubleshooting guide we learn how to fix airscan-discover command not found error message

Introduction

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

airscan-discover: command not found

or when using sudo you get the following error message

sudo: airscan-discover: command not found

Solutions to airscan-discover: command not found

How To Fix airscan-discover: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu airscan-discover is provided by sane-airscan package.

sane-airscan is:

Similar to how most modern network printers support “driverless” printing, using the universal vendor-neutral printing protocol, many modern network scanners and MFPs support “driverless” scanning.

Driverless scanning comes in two flavors:

  • Apple AirScan or AirPrint scanning (official protocol name is eSCL)
  • Microsoft WSD, or WS-Scan (term WSD means “Web Services for Devices)

This backend implements both protocols, choosing automatically between them. It was successfully tested with many devices from Brother, Canon, Kyocera, Lexmark, Epson, HP, Ricoh, Samsung and Xerox both in WSD and eSCL modes.

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

sudo apt-get -y install sane-airscan

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

You can also use apt command to install sane-airscan.

sudo apt -y install sane-airscan

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

sudo aptitude install sane-airscan

Summary

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