How do I install these printing and mail related utilities?

Solution 1:

In order to use lp, lpstat and cancel, you need to install and configure a printer.

In the process of installing the printer, you're going to install cups-client, which contains these utilities.

The mail program is in mailutils

To install both of these, type

sudo apt-get install cups-client
sudo apt-get install mailutils

Afterwards, you may want to

  • set up a Print server

  • set up a Mail server