Open In App

How To Install android-tools-fastboot on Ubuntu

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

ADB and Fastboot are utilities that allow you to gain access to the Android system while your phone is linked to a desktop computer via USB. The computer and cable are required—there is no app version, and while ADB can be used wirelessly, it is significantly more difficult to set up. When Android is running, you generally utilize ADB. It allows you to access system folders and change hidden settings that are otherwise inaccessible to users. A

DB can be used to copy system files to and from the device, and there is also a sideload capability for installing system upgrades. Fastboot works when Android is turned off and the device is booted into “Fastboot mode.”  Fastboot is a diagnostic tool for Android. It is required if you need to unbrick your phone and is usually used to install a custom recovery. Both are included in the Platform Tools collection of the Android software development kit.

On Ubuntu 20.04, there are three options for installing android-tools-fastboot. 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

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

sudo apt-get update

 

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

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

 

Method 2: Using apt

Step 1 : The apt database will be updated using the following command.

sudo apt update

 

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

sudo apt -y install android-tools-fastboot

 

Method 3: Using aptitude

Step 1: 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

 

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

sudo aptitude -y install android-tools-fastboot

 

Usage of android-tools-fastboot:

  • adb pull [file path] [path to folder]: This transfers a file from anywhere on your phone to a specified folder on your computer.
  • adb push[path to the file] [path to folder]: The inverse of pull; transfer a file from your computer to your phone.
  • adb install [path to file]: This command will install an APK app on your phone. This is especially useful for app developers.
  • adb uninstall [package name]: Removes an application. Instead of the standard app name, provide the complete package name (typically something like com.devname.appname).

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads