How to Install And Update ADB and Fastboot on Linux

 You can download the platform-tools zip file, unzip it, open the terminal there and use adb. But if we do so, we may encounter some error such as no permissions (missing udev rules? user is in the plugdev group); see [http://developer.android.com/tools/device.html] fastboot 

To make sure you don't have any issue while using ADB or Fastboot, you should install it on your Linux OS and the use it.

How to Install ADB and Fastboot?

First run the command below:

Debian/Ubuntu sudo apt install android-tools-fastboot

Centos/Fedora/openSUSE sudo dnf install android-tools

ArchLinux and derivatives sudo pacman -Sy android-tools

Then run the below commands:

sudo apt install adb

sudo apt install fastboot

ADB and Fastboot is now installed in your computer. To make sure run the commands below:

adb --version
fastboot --version

How to update ADB and Fastboot?

Now download the platform-tools zip file from here. Unzip it and copy all the files within the folder. Open your file manager as root. To do that open your terminal and run the command sudo <your file manager name> (eg. nautilus, thunar, dolphin)

Then go to the usr/dev/android-sdk/platform-tools and paste the files here and replace them. Now close the file and open your terminal then run the commands below to check your adb and fastboot version.

adb --version
fastboot --version

Post Comment

Comments