scanadf command not found

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

Introduction

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

scanadf: command not found

or when using sudo you get the following error message

sudo: scanadf: command not found

Solutions to scanadf: command not found

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

In Ubuntu scanadf is provided by sane package.

sane is:

This package includes : o xscanimage, a scanner graphical frontend with GIMP 2.0 support o scanadf, a command-line frontend for scanners with Automatic Document Feeder o xcam, for acquiring images continuously from cameras.

An alternative to xscanimage called xsane is packaged separately.

The scanner frontends use SANE. SANE stands for “Scanner Access Now Easy” and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.). The SANE standard is free and its discussion and development are open to everybody. The current source code is written to support several operating systems, including GNU/Linux, OS/2, Win32 and various Unices and is available under the GNU General Public License (commercial applications and backends are welcome, too, however).

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

sudo apt-get -y install sane

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

You can also use apt command to install sane.

sudo apt -y install sane

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

sudo aptitude install sane

Summary

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