How To Install bluez-cups on Ubuntu 20.04

In this tutorial we learn how to install bluez-cups on Ubuntu 20.04. bluez-cups is Bluetooth printer driver for CUPS Bluetooth printer driver for CUPS Bluetooth printer driver for CUPS

Introduction

In this tutorial we learn how to install bluez-cups on Ubuntu 20.04.

What is bluez-cups

bluez-cups is:

This package contains a driver to let CUPS print to Bluetooth-connected printers.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL). Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: bluez-cups Architecture: amd64 Version: 5.53-0ubuntu3.2 Priority: optional Section: admin Source: bluez Origin: Ubuntu Maintainer: Ubuntu Bluetooth team [email protected] Original-Maintainer: Debian Bluetooth Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 201 Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.28), cups Filename: pool/main/b/bluez/bluez-cups_5.53-0ubuntu3.2_amd64.deb Size: 60228 MD5sum: 3e4f459316ec6d670242a833393cd871 SHA1: de169551cf4a3758deb6112faa49137bb83df3b3 SHA256: 3b151d6030f6ad75ac32e053af9fdd9a1ff7dc67276e57f29f209f47c8c3cb57 SHA512: 43d87ab3463a50207800e24023f5a9c8f400b98c992db89b99d6638e7d6934407b025a4e020ec7fd1f0c73d03f6f4e4c28cc07c21a9676bd33941b120df23c20 Homepage: http://www.bluez.org Description-en: Bluetooth printer driver for CUPS This package contains a driver to let CUPS print to Bluetooth-connected printers.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL). Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: bluez-cups Architecture: amd64 Version: 5.53-0ubuntu3 Priority: optional Section: admin Source: bluez Origin: Ubuntu Maintainer: Ubuntu Bluetooth team [email protected] Original-Maintainer: Debian Bluetooth Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 201 Depends: libc6 (>= 2.15), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.28), cups Filename: pool/main/b/bluez/bluez-cups_5.53-0ubuntu3_amd64.deb Size: 60152 MD5sum: d7b51f4bff13971621365f11d74d7f64 SHA1: 5ca27d0b0ca1653089d3bea977fce6998b67367e SHA256: 5932b594eacb92bc5c1e829f26f9613ad3e46ccfb2e1c03535df30368c911182 Homepage: http://www.bluez.org Description-en: Bluetooth printer driver for CUPS This package contains a driver to let CUPS print to Bluetooth-connected printers.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL). Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

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

Install bluez-cups Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install bluez-cups

Install bluez-cups Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bluez-cups

Install bluez-cups Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install bluez-cups

How To Uninstall bluez-cups on Ubuntu 20.04

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

sudo apt-get remove bluez-cups

Uninstall bluez-cups And Its Dependencies

To uninstall bluez-cups and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove bluez-cups

Remove bluez-cups Configurations and Data

To remove bluez-cups configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge bluez-cups

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

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

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

References

Summary

In this tutorial we learn how to install bluez-cups package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.