paxtest command not found

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

Introduction

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

paxtest: command not found

or when using sudo you get the following error message

sudo: paxtest: command not found

Solutions to paxtest: command not found

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

In Ubuntu paxtest is provided by paxtest package.

paxtest is:

PaX is a Linux kernel patch which adds much stricter control on how memory is being used by applications. A normal Linux kernel leaves the control to the application and does not implement any enforcement. Especially buffer overflow attacks benefit from the absence of kernel enforced memory control. PaX tries to do its best to enforce this control of memory used by applications, thereby making it harder to successfully exploit buffer overflows.

Paxtest provides a regression test suite that covers most (but not all) of PaX functionality. It can also be used to test other memory protection patches.

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

sudo apt-get -y install paxtest

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

You can also use apt command to install paxtest.

sudo apt -y install paxtest

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

sudo aptitude install paxtest

Summary

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