Open In App

How To Install android-tools-adb on Ubuntu

Last Updated : 11 Jul, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The Android Debug Bridge (abbreviated as ADB) is a programming tool for debugging Android-based devices. The daemon on the Android device communicates with the server on the host PC through USB or TCP, which communicates with the end-client users via TCP. Google has been making open-source software under the Apache License available since 2007. Features include a shell and the ability to backup data. The ADB software runs on Windows, Linux, and macOS. It has been abused by botnets and other malicious software, for which mitigations like RSA authentication and device whitelisting have been developed.

On Ubuntu 20.04, there are three options for installing android-tools-adb. Apt-get, apt, and aptitude are all available. Each strategy of installation will be described in detail in the following sections. You may select any of them.

  • Using apt-get to install 
  • Using aptitude to install
  • Using apt to install  

Method 1: Using the apt-get command

Using the following command, update the apt database using apt-get.

sudo apt-get update

 

After upgrading the apt database, we can use apt-get to install android-tools-adb by performing the following command:

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

 

Method 2: Using apt-get

The apt database will be updated using the following command.

sudo apt update

 

After upgrading the apt database, we can use apt to install android-tools-adb by performing the following command:

sudo apt -y install android-tools-adb

 

Method 3: Using aptitude

If you want to use this method, you may need to install aptitude first because it is not normally installed by default on Ubuntu. Use the following command to update the apt database with aptitude.

sudo aptitude update

 

After upgrading the apt database, we can use aptitude to install android-tools-adb by performing the following command:

sudo aptitude -y install android-tools-adb

 


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads