rlprm command not found

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

Introduction

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

rlprm: command not found

or when using sudo you get the following error message

sudo: rlprm: command not found

Solutions to rlprm: command not found

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

In Ubuntu rlprm is provided by rlpr package.

rlpr is:

Rlpr makes it possible (or at the very least, easier), to print files on remote sites to your local printer, and vice versa. The rlpr package includes BSD-compatible replacements for ’lpr’, ’lpq’, and ’lprm’, whose functionality is a superset of their BSD counterparts. In other words, with the rlpr package, you can do everything you can do with the BSD printing commands, and more. The programs contained within the rlpr package are all GPL’d, and are more lightweight, cleaner and more secure than their BSD counterparts.

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

sudo apt-get -y install rlpr

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

You can also use apt command to install rlpr.

sudo apt -y install rlpr

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

sudo aptitude install rlpr

Summary

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