How To Install android-tools-adbd on Ubuntu 18.04

In this tutorial we learn how to install android-tools-adbd on Ubuntu 18.04. android-tools-adbd is Android Debug Bridge daemon

Introduction

In this tutorial we learn how to install android-tools-adbd on Ubuntu 18.04.

What is android-tools-adbd

android-tools-adbd is:

Android Debug Bridge (adb) is a versatile tool that lets you manage the state of an emulator instance or Android-powered device. It is a client-server program that includes three components:

A client, which runs on your development machine. You can invoke a client from a shell by issuing an adb command. Other Android tools such as the ADT plugin and DDMS also create adb clients.

A server, which runs as a background process on your development machine. The server manages communication between the client and the adb daemon running on an emulator or device.

A daemon, which runs as a background process on each emulator or device instance.

This package provides the daemon component.

There are three methods to install android-tools-adbd on Ubuntu 18.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 android-tools-adbd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install android-tools-adbd

Install android-tools-adbd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install android-tools-adbd using apt by running the following command:

sudo apt -y install android-tools-adbd

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

sudo aptitude -y install android-tools-adbd

How To Uninstall android-tools-adbd on Ubuntu 18.04

To uninstall only the android-tools-adbd package we can use the following command:

sudo apt-get remove android-tools-adbd

Uninstall android-tools-adbd And Its Dependencies

To uninstall android-tools-adbd and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove android-tools-adbd

Remove android-tools-adbd Configurations and Data

To remove android-tools-adbd configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge android-tools-adbd

Remove android-tools-adbd configuration, data, and all of its dependencies

We can use the following command to remove android-tools-adbd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge android-tools-adbd

References

Summary

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