webcam command not found

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

Introduction

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

webcam: command not found

or when using sudo you get the following error message

sudo: webcam: command not found

Solutions to webcam: command not found

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

In Ubuntu webcam is provided by webcam package.

webcam is:

XawTV is a set of software for watching and recording television channels and webcams.

This package provides an utility that captures images from a video4linux device such as bttv, annotates them and uploads them to a webserver in an endless loop using FTP or SSH.

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

sudo apt-get -y install webcam

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

You can also use apt command to install webcam.

sudo apt -y install webcam

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

sudo aptitude install webcam

Summary

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