How To Install libbluetooth3 on Ubuntu 20.04

In this tutorial we learn how to install libbluetooth3 on Ubuntu 20.04. libbluetooth3 is Library to use the BlueZ Linux Bluetooth stack Library to use the BlueZ Linux Bluetooth stack Library to use the BlueZ Linux Bluetooth stack

Introduction

In this tutorial we learn how to install libbluetooth3 on Ubuntu 20.04.

What is libbluetooth3

libbluetooth3 is:

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, kubuntu-full, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libbluetooth3 Architecture: amd64 Version: 5.53-0ubuntu3.2 Multi-Arch: same Priority: optional Section: libs 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: 216 Depends: libc6 (>= 2.15), libudev1 (>= 183) Conflicts: libsdp2 (<= 1.5-2) Replaces: libsdp2 (<= 1.5-2) Filename: pool/main/b/bluez/libbluetooth3_5.53-0ubuntu3.2_amd64.deb Size: 60316 MD5sum: c00eeaec04b5da67c672924778d8e727 SHA1: 0e61ac96e60dac6dbb0a32456bcaf1c19e0be82f SHA256: 6242d827261ca355911c0fc8e66230f65d3e66dd4352b0cd7c5e7a1170da9e36 SHA512: 7f9197cb91e92b4e85cb28240831a05d5919c2d628c7b2a65e6b40ccd198f1faf3319a20e0865d96643b4618395518c393536afe7d4f06698ef7a22ed320dbff Homepage: http://www.bluez.org Description-en: Library to use the BlueZ Linux Bluetooth stack 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, kubuntu-full, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libbluetooth3 Architecture: amd64 Version: 5.53-0ubuntu3 Multi-Arch: same Priority: optional Section: libs 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: 216 Depends: libc6 (>= 2.15), libudev1 (>= 183) Conflicts: libsdp2 (<= 1.5-2) Replaces: libsdp2 (<= 1.5-2) Filename: pool/main/b/bluez/libbluetooth3_5.53-0ubuntu3_amd64.deb Size: 60064 MD5sum: 22ddb0aaf992a1c1f7f2b8479a4712ad SHA1: 9ba5b059e1a6a4e28bbc37e64727dd347ec215a7 SHA256: a86ccc00905605ac5a8a165bca2f66685280b8a74061da8525f5cae93bc64dc2 Homepage: http://www.bluez.org Description-en: Library to use the BlueZ Linux Bluetooth stack 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, kubuntu-full, 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 libbluetooth3 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 libbluetooth3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libbluetooth3

Install libbluetooth3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libbluetooth3

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

sudo aptitude -y install libbluetooth3

How To Uninstall libbluetooth3 on Ubuntu 20.04

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

sudo apt-get remove libbluetooth3

Uninstall libbluetooth3 And Its Dependencies

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

sudo apt-get -y autoremove libbluetooth3

Remove libbluetooth3 Configurations and Data

To remove libbluetooth3 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libbluetooth3

Remove libbluetooth3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbluetooth3

References

Summary

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