pscap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pscap: command not found
or when using sudo you get the following error message
sudo: pscap: command not found
Solutions to pscap: command not found
How To Fix pscap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pscap is provided by libcap-ng-utils package.
libcap-ng-utils is:
This library implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges.
The libcap-ng library is intended to make programming with POSIX capabilities much easier than the traditional libcap library.
This package contains utilities for analysing and setting file capabilities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libcap-ng-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libcap-ng-utils.
sudo apt -y install libcap-ng-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install libcap-ng-utils
Summary
In this tutorial we learn how to fix pscap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.