How To Install fswebcam on Kali Linux
Introduction
In this tutorial we learn how to install fswebcam
on Kali Linux.
What is fswebcam
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.
There are three methods to install fswebcam
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install fswebcam Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fswebcam
using apt-get
by running the following command:
sudo apt-get -y install fswebcam
Install fswebcam Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fswebcam
using apt
by running the following command:
sudo apt -y install fswebcam
Install fswebcam Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install fswebcam
using aptitude
by running the following command:
sudo aptitude -y install fswebcam
How To Uninstall fswebcam on Kali Linux
To uninstall only the fswebcam
package we can use the following command:
sudo apt-get remove fswebcam
Uninstall fswebcam And Its Dependencies
To uninstall fswebcam
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fswebcam
Remove fswebcam Configurations and Data
To remove fswebcam
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fswebcam
Remove fswebcam configuration, data, and all of its dependencies
We can use the following command to remove fswebcam
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fswebcam
Dependencies
fswebcam have the following dependencies:
References
Summary
In this tutorial we learn how to install fswebcam
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.