portreserve command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
portreserve: command not found
or when using sudo you get the following error message
sudo: portreserve: command not found
Solutions to portreserve: command not found
How To Fix portreserve: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu portreserve is provided by portreserve package.
portreserve is:
The portreserve program aims to help services with well-known ports that lie in the bindresvport() range (currently 600-1023). It prevents programs requesting a port to the libc from occupying a real service’s port by occupying it itself, until the real service tells it to release the port (generally in its init script).
To fix this problem, we can install more using the command below.
sudo apt-get -y install portreserve
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install portreserve.
sudo apt -y install portreserve
Or if you have aptitude installed you can use the following command.
sudo aptitude install portreserve
Summary
In this tutorial we learn how to fix portreserve command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.