fswebcam command not found

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

Introduction

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

fswebcam: command not found

or when using sudo you get the following error message

sudo: fswebcam: command not found

Solutions to fswebcam: command not found

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

In Ubuntu fswebcam is provided by fswebcam package.

fswebcam is:

Fswebcam is a tiny and flexible webcam command-line program for capturing images from a V4L1/V4L2 device. It accepts a number of formats, can skip the first (possibly bad) frames before performing the actual capture, and can perform simple manipulation on the captured image, such as resizing, averaging multiple frames or overlaying a caption or an image.

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

sudo apt-get -y install fswebcam

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

You can also use apt command to install fswebcam.

sudo apt -y install fswebcam

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

sudo aptitude install fswebcam

Summary

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