sendmail2snpp command not found

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

Introduction

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

sendmail2snpp: command not found

or when using sudo you get the following error message

sudo: sendmail2snpp: command not found

Solutions to sendmail2snpp: command not found

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

In Ubuntu sendmail2snpp is provided by sendpage-client package.

sendpage-client is:

To send alphanumeric pages to a pager, if an email gateway is unavailable or undesirable, software is needed to control a modem which will dial a Paging Central, and deliver the pages using an ASCII delivery system known as TAP. Sendpage implements all aspects of this type of software, including an SNPP client, an SNPP server, a queuing engine, a modem control engine, a TAP communication system, and an email notification system.

This package provides the sendpage SNPP client.

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

sudo apt-get -y install sendpage-client

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

You can also use apt command to install sendpage-client.

sudo apt -y install sendpage-client

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

sudo aptitude install sendpage-client

Summary

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