captest command not found

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

Introduction

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

captest: command not found

or when using sudo you get the following error message

sudo: captest: command not found

Solutions to captest: command not found

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

In Ubuntu captest 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 captest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.