In this tutorial, we will discuss how to install ADB & Fastboot on Ubuntu machines. Android developers, as well as Android phone explorers, are well aware of the term ADB & Fastboot. Both of these are extremely useful & necessary tools required for Android development or for rooting the android phone. But let’s discuss them in a little brief before we learn how to install them on our Ubuntu systems.

ADB or Android Debug Bridge is a command-line utility that lets us control an android device from the computer itself. Its part of Google Android SDK & can be used to run shell commands or to copy the files to & from the device & also to install or remove the applications from the device.

Fastboot is basically a diagnostics mode that is used to modify the Android file system from the computer when the android device is in bootloader mode. It’s an alternative to recovery mode & is normally used to perform updates or to perform installations.

You can also watch our video here to learn how to install ADB on Ubuntu (21.04 or older),

Recommended Read: 10 Best VPN services you can use in 2021

Also Read: How to install Minecraft on Ubuntu


To install ADB & Fastboot on Ubuntu systems is pretty easy as the packages are available with the default Ubuntu repositories. To install both the ADB & Fastboot, execute the following command from the terminal,

$ sudo apt-get install android-tools-adb android-tools-fastboot

Once the installation has been finished you can check the ADB version by running the following command,

$ adb version

After installation, the ADB server will start on its but if that’s not the case then you can start the ADB server using,

$ sudo adb start-server

To stop the ADB server, use

$ sudo adb kill-server

Now to test out that your ADB installation is working fine, we will connect an android device to our system.

But before we connect the android device, we need to make sure that the device has ‘USB Debugging’ enabled. It can be enabled by going into device Settings & then into the Developer Options (Some devices require that you tap several times on Android Version in About Phone section to enable Developer Options).

Once the USB Debugging has been enabled, connect the android device to the system using the USB cable.

Now open the terminal and execute the following command,

$ adb devices

Upon the command execution, you will get a pop-up on your Android device to allow USB Debugging, press OK to enable the debugging. Now execute the same command mentioned above & we should then see our device in list output.

Note: If getting any permissions regarding error after connecting the device then restart the ADB server & try again.

This was one way to install ADB & Fastboot on Ubuntu systems, another method is to install the complete Google Android SDK. We will discuss that in detail in our upcoming tutorial.

If getting an error or have a question you can send it to us using the comment box below.

We are giving you exclusive deals to try Linux Servers for free with 100$ credit, check these links to claim your 100$,

DigitalOcean - 100$ free credit & Linode - 100$ free credit

Check some Exclusive Deals, HERE.

Also, check out DevOps Book You should read section.