prctl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
prctl: command not found
or when using sudo you get the following error message
sudo: prctl: command not found
Solutions to prctl: command not found
How To Fix prctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu prctl is provided by prctl package.
prctl is:
prctl is a tool to query and modify process behavior. Supported process behavior is handling of unaligned memory access, handling of floating point software assist faults and machine check memory corruption kill policy. Some of this functionality is supported by the kernel only on a subset of architectures.
To fix this problem, we can install more using the command below.
sudo apt-get -y install prctl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install prctl.
sudo apt -y install prctl
Or if you have aptitude installed you can use the following command.
sudo aptitude install prctl
Summary
In this tutorial we learn how to fix prctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.