How to Install ADB Fastboot on Linux

How to Install ADB Fastboot on Linux

   

This post was last updated on June 7th, 2020 at 08:15 pm

ADB and Fastboot are the debugging tools that comes with Android SDK. In this guide, I am going to present how to install ADB and Fastboot on Linux.

If you are a developer or you want to learn how you can get most out of your Android phone as a Developer or an advanced user then you must need ADB and Fastboot which are the basic tools needed to understand your Android phone.

Installing ADB or Fastboot in Linux is sometimes easy as it can be downloaded from the Linux distro’s software repositories. But oftentimes they are outdated. That is the primary reason I have to bring in this article.

Let’s dive in!

Here is adb fastboot for Windows or Minimal ADB downlaod if you are not comfortable with Linux.

Here I have brought you an Easy to Install ADB and Fastboot on Linux. Just one command execution to install ADB Fastboot on Linux. The scripts are provided in the DOWNLOADS section followed by the Step By Step ADB & Fastboot Installation Guide for Linux.

Donwlaod ADB and Fastboot For Linux

Install ADB Fastboot on Linux

You can install ADB Fastboot binaries from the default package management systems available in the respective linux distro.

How to Install ADB Fastboot on Ubuntu

Execute the below command to install ADB Fastboot binaries on Ubuntu:
$ sudo apt install android-tools-adb
$ sudo apt install android-tools-fastboot

But the tools will be downloaded from the Ubuntu’s repo which might be outdated with respect to the latest available platform-tools (ADB and Fastboot) on the Android SDK.

So, it is recommended that you download the ADB Fastboot binaries from the above download links and use

  1. Download and extract the Android.zip to a directory.
  2. Go to the downloaded directory and then enter into Android directory where all the scripts are kept.
  3. Execute the following command on a console or Terminal with ROOT privilege on your Linux machine:
    # sh ADB-Install-Linux.sh

    Or enter the absoulute path to the script to execute:

    # sh /path/to/install/script/ADB-Install-Linux.sh

    NOTE: This command will move the ADB and Fastboot binaries to /usr/bin location and move the Android udev rules file to /etc/udev/rules.d/ location also this script will install JDK if it is not installed.

  4. Exit from the command console and the open a new command console to use ADB and fastboot.

What you can do after Installing ADB and Fastboot?

ADB and Fastboot are the basic utilities if you want to ROOT, Unlock bootloader or install a custom Recovery like TWRP on any Android device.

ADB sideload and fastboot flash is needed to install custom ROMs like LineageOS etc.

ADB and Fastboot should now be installed on your Linux machine. If you have any concerns or doubt then leave a comment with a detailed description.

Previous 7 Steps of Machine Learning
Next How to Install Vagrant on Ubuntu 20.04

About author

Sibananda Sahu
Sibananda Sahu 154 posts

A Linux Kernel Developer and a Firmware Developer by profession. Have worked with few big companies: BROADCOM Corporation, Cypress Semiconductor, LSI Corporation, TOSHIBA Corporation, Western Digital; on various cutting edge technologies and product lines, such as: RAID storage Driver, SSD Firmware, WLAN Firmware etc. Having more than 9 years of experience in Software Engineering domain. Now, took a pledge to educate all aspirant students to teach about Linux Kernel Development.

View all posts by this author →

You might also like

Installation 0 Comments

PXE Server Setup – whitepaper

This post was last updated on May 26th, 2020 at 09:37 pmLinux PXE Server This whitepaper will describe how to set up a pxe server. Hardware Required: HP ProLiant Server,

Installation 0 Comments

Red Hat 8.0 Custom CD

This post was last updated on May 26th, 2020 at 02:14 pmSince these questions keep appearing on the anaconda-devel list, I decided to start capturing some of them and documenting

Installation 0 Comments

Compaq Smart-2/E Array Controller

This post was last updated on May 27th, 2020 at 05:15 pm Contents1 Spare# 194752-001 Assembly# 194771-001 Option# 194751-0012 Hardware Setup:3 Software Install:4 Module Options5 Building a new Initrd6 Updating

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply