How To Install cups-browsed on Kali Linux

In this tutorial we learn how to install cups-browsed on Kali Linux. cups-browsed is OpenPrinting CUPS Filters - cups-browsed

Introduction

In this tutorial we learn how to install cups-browsed on Kali Linux.

What is cups-browsed

cups-browsed is:

This package provides cups-browsed, a daemon which browses the Bonjour broadcasts of shared remote CUPS printers and makes the printers available locally, replacing the CUPS broadcasting/browsing which was dropped in CUPS 1.6.x. This way the old behavior of having the remote printers available automatically is now re-implemented with Bonjour.

cups-browsed is also useful with a CUPS >= 1.6 client to allow the latter to browse the printer list of CUPS < 1.6 servers (by using the old ‘cups’ protocol in BrowseRemoteProtocols).

cups-browsed is also useful with a CUPS >= 1.6 server to allow CUPS < 1.6 clients to browse its printer list (by using the old ‘cups’ protocol in BrowseLocalProtocols).

There are three methods to install cups-browsed 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 cups-browsed Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cups-browsed

Install cups-browsed Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cups-browsed

Install cups-browsed 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 cups-browsed using aptitude by running the following command:

sudo aptitude -y install cups-browsed

How To Uninstall cups-browsed on Kali Linux

To uninstall only the cups-browsed package we can use the following command:

sudo apt-get remove cups-browsed

Uninstall cups-browsed And Its Dependencies

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

sudo apt-get -y autoremove cups-browsed

Remove cups-browsed Configurations and Data

To remove cups-browsed configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge cups-browsed

Remove cups-browsed configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cups-browsed

Dependencies

cups-browsed have the following dependencies:

References

Summary

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