How To Install bluez-tests on Ubuntu 20.04

In this tutorial we learn how to install bluez-tests on Ubuntu 20.04. bluez-tests is BlueZ test tools and scripts BlueZ test tools and scripts BlueZ test tools and scripts

Introduction

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

What is bluez-tests

bluez-tests is:

This package contains test tools and scripts used for testing BlueZ.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL).

Package: bluez-tests Architecture: amd64 Version: 5.53-0ubuntu3.2 Priority: optional Section: universe/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: 2161 Provides: bluez-test-scripts Depends: libc6 (>= 2.14), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.28.0) Conflicts: bluez-test-scripts Replaces: bluez-test-scripts Filename: pool/universe/b/bluez/bluez-tests_5.53-0ubuntu3.2_amd64.deb Size: 279916 MD5sum: 116f41eb5392ea81fe2e161fd05bf610 SHA1: 2f2fa717a40b4437e8b97eeb8893ef3f9d98ef84 SHA256: 375b2396c4a705530b98fab151f8c3fcfd7e6420ca17b675df6926b82b1624ad SHA512: f038aaadf19adb4d9303bea0ad279a6d2368600054b00f8816af6cc0a945284b6e93597d5709289df1593b7d680bcfb4d62ec977422536763231d7829cf8f5b4 Homepage: http://www.bluez.org Description-en: BlueZ test tools and scripts This package contains test tools and scripts used for testing BlueZ.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL).

Package: bluez-tests Architecture: amd64 Version: 5.53-0ubuntu3 Priority: optional Section: universe/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: 2161 Provides: bluez-test-scripts Depends: libc6 (>= 2.14), libdbus-1-3 (>= 1.9.14), libglib2.0-0 (>= 2.28.0) Conflicts: bluez-test-scripts Replaces: bluez-test-scripts Filename: pool/universe/b/bluez/bluez-tests_5.53-0ubuntu3_amd64.deb Size: 281500 MD5sum: 4cfa1c7acfa9620689ede40802eee5bc SHA1: aff1a4eacdfea876e872bd712bf9131ce7659a9e SHA256: 83de125023fad1b6f0fda877aae1329c1af5abd2fbf9f16713a649e12f7797c2 Homepage: http://www.bluez.org Description-en: BlueZ test tools and scripts This package contains test tools and scripts used for testing BlueZ.

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL).

There are three methods to install bluez-tests 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-tests 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-tests using apt-get by running the following command:

sudo apt-get -y install bluez-tests

Install bluez-tests Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bluez-tests

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

sudo aptitude -y install bluez-tests

How To Uninstall bluez-tests on Ubuntu 20.04

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

sudo apt-get remove bluez-tests

Uninstall bluez-tests And Its Dependencies

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

sudo apt-get -y autoremove bluez-tests

Remove bluez-tests Configurations and Data

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

sudo apt-get -y purge bluez-tests

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

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

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

References

Summary

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