natpmpc command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
natpmpc: command not found
or when using sudo you get the following error message
sudo: natpmpc: command not found
Solutions to natpmpc: command not found
How To Fix natpmpc: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu natpmpc is provided by natpmpc package.
natpmpc is:
NAT-PMP is the direct concurrent to the UPnP IGD specification. It is providing a way to do NAT traversal. It is part of the Bonjour protocol specifications. At the moment it is mainly supported by Apple software and hardware. For a way to add NAT-PMP capabilities to your *BSD, Linux or (Open)Solaris Router, you should have a look at MiniUPnPd which is supporting NAT-PMP in addition to UPnP since December 2007 !
libnatpmp is an attempt to make a portable and fully compliant implementation of the protocol NAT-PMP for the client side. It is based on non blocking sockets and all calls of the API are asynchronous. It is therefore very easy to integrate the NAT-PMP code to any event driven code.
This package contains the natpmpc test client.
To fix this problem, we can install more using the command below.
sudo apt-get -y install natpmpc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install natpmpc.
sudo apt -y install natpmpc
Or if you have aptitude installed you can use the following command.
sudo aptitude install natpmpc
Summary
In this tutorial we learn how to fix natpmpc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.