How To Install rlpr on Kali Linux

In this tutorial we learn how to install rlpr on Kali Linux. rlpr is A utility for lpd printing without using /etc/printcap

Introduction

In this tutorial we learn how to install rlpr on Kali Linux.

What is rlpr

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.

There are three methods to install rlpr on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install rlpr Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install rlpr using apt-get by running the following command:

sudo apt-get -y install rlpr

Install rlpr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install rlpr using apt by running the following command:

sudo apt -y install rlpr

Install rlpr Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install rlpr using aptitude by running the following command:

sudo aptitude -y install rlpr

How To Uninstall rlpr on Kali Linux

To uninstall only the rlpr package we can use the following command:

sudo apt-get remove rlpr

Uninstall rlpr And Its Dependencies

To uninstall rlpr and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove rlpr

Remove rlpr Configurations and Data

To remove rlpr configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge rlpr

Remove rlpr configuration, data, and all of its dependencies

We can use the following command to remove rlpr configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge rlpr

Dependencies

rlpr have the following dependencies:

References

Summary

In this tutorial we learn how to install rlpr package on Kali Linux using different package management tools: apt, apt-get and aptitude.