The Wayback Machine - https://web.archive.org/web/20241117014515/https://www.geeksforgeeks.org/how-to-install-android-tools-fastboot-on-ubuntu/
Open In App

How To Install android-tools-fastboot on Ubuntu

Last Updated : 11 Jul, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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).


Similar Reads

How To Install android-sdk-build-tools on Ubuntu
The Android SDK has a number of tools that will assist you in developing mobile applications for the Android platform. The tools are divided into three categories: SDK Tools, Platform Tools, and Build Tools. Build-tools is an Android SDK component necessary for developing Android application code. This package includes the Android SDK Build tool. A
2 min read
How To Install android-tools-adb on Ubuntu
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. Fea
3 min read
How to Install alsa-tools on Ubuntu?
A set of console-based utilities for specific sound gear: ALSA Tools is a set of console-based utilities for specific sound devices. It organizes sound hardware tasks and provides services for them. as10k1 - An assembler for the DSP chip EMU10K1 (EMU10K2). Send HD audio commands to Intel HDA devices with hda-verb. sbiload - OPL2/3 FM instrument loa
2 min read
How to Install Android Studio on Ubuntu?
Android Studio is a full-featured cross-platform IDE that helps us to build applications for Android devices. Android Studio is based on JetBrains' IntelliJ IDEA. This IDE includes everything we need for Android development. Android Studio build system is powered by Gradle allowing you to make multiple build variants for various devices from one pr
5 min read
Netnoob - Network tools, information gathering tools and scanning tools
Netnoob is an automated tool that is developed for Network Recon, Scanning, and Network Auditing. Netnoob tool has the features to Get information about your computer and network, Get information about another computer or a network, Network Settings, and Shared Drives. This tool allows us to change the IP address and MAC Address of our system and a
2 min read
How to install Mailspring on Ubuntu
MailSpring application is an Email Client that provides various high-rich features like email templates, mail merge, custom signatures, and advanced search options. MailSpring application supports various email providers and email services like Gmail, Yahoo, and Microsoft Exchange. In this article, we will be installing the MailSpring application o
4 min read
How to Install Ubuntu on Windows using VMware?
VMWare, a short form of "VirtualMachine Ware". A cloud computing company that develops virtualization software, management, and networking interfaces or tools. It provides hypervisor tools or products that help in running virtual machines, clusters, and containers. By using this software we can virtualize the computer with required computing resour
2 min read
How to install the NFS server on Ubuntu?
NFS, which stands for Network File System, was created in 1984 by Sun Microsystems. A file system called Network File System (NFS) enables local access to distant files from various places across a network.NFS has a typical client/server architecture for this access, facilitating sharing between Linux workstations of any distribution. We will demon
4 min read
How to Install PyQuery package on Ubuntu?
Pyquery is a Python library that has quite a similar API to jQuery. It uses lxml module for fast XML and HTML manipulation experience. The API is as large as possible comparable to jQuery. Pyquery is processed on the server-side, unlike jquery which is processed in the browser. We can crawl the web information through this library very easily. Requ
2 min read
How to install Django with NGINX, Gunicorn, and PostgreSQL on Ubuntu?
This article describes how to install and configure Django with PostgreSQL, Gunicorn, and Nginx on your Ubuntu machine. First, let's look at an overview of all the tools we use. Django is a robust, free, open-source, Python-based web framework that follows the MVT (Model-Template-View) architectural pattern. Though it includes an integrated develop
6 min read
How to Install and Configure Fish Shell in Ubuntu?
Fish Shell is a unique user-friendly command-line shell for the different operating systems. fish includes some smart features like syntax highlighting, fancy tab completions and autosuggest-as-we-type that just works by default with no configuration required. fish is mostly written in shell script and in C++. Step 1: Install fish repository in ubu
1 min read
How to Install Ulauncher in Ubuntu?
Ulauncher is a fast app launcher which allows searching app and files by pressing hotkeys. Ulauncher is written in Python with GTK+. Below are some Ulauncher app launcher features: Fuzzy search (type in app name without worrying about spelling)built-in themescustomizable shortcutsSearch Google, Wikipedia, and Stack Overflowwide range of plugins 1.
1 min read
How to Install and Configure Synaptic Package Manager in Ubuntu?
Synaptic Package Manager is a GUI based package management tool that uses APT (Advanced Package Tool) to installing, updating or removing packages from the Linux system. Some of the feature given by Synaptic Package Manager are: Allow installing, updating or removing packagesUpgrading whole systemSearching and filtering the list of packages availab
1 min read
How to Install and Configure Elasticsearch on Ubuntu ?
Elasticsearch is a Cross-platform search engine based on Apache's Lucene library. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. It is written in Java. Prerequisites: Java Installation on Ubuntu Step 1: First, update your system by using the following command: $sudo
1 min read
How to Install PyQt for Python3 on Ubuntu?
PyQt is a Python binding of the cross-platform GUI toolkit Qt. It is implemented as a Python plug-in and developed by the British firm Riverbank Computing. It implements approximately 440 classes and 6,000 functions and methods. It is not installed by default, so to use this we have to install it in our system. It is used to create desktop applicat
2 min read
How to install RubyMine on Ubuntu
RubyMine is an integrated development environment (IDE) that aids productivity in all aspects of Ruby/Rails project development, from creating and debugging code to testing and delivering a finished application. RubyMine is available for macOS, Windows, and Linux, among other platforms. JetBrains' RubyMine is a sophisticated Ruby IDE. Ruby Mining,
2 min read
How to Install TeamViewer on Linux/Ubuntu?
TeamViewer is one of the best cross-platform remote support application. Its available for Windows, Mac, Chrome OS, Raspberry Pi, iOS, Android, and Linux Operating Systems. TeamViewer is used for: Controlling Remote Computer via GUI (Graphical User Interface).File Transfer. If your mode of usage is for personal and non-commercial its completely fre
2 min read
How to Install Tilix Terminal Emulator in Ubuntu/Fedora/Arch Linux?
A terminal emulator is a software that helps in interacting with the computer machine and perform operations using commands. Tilix is a tiling terminal emulator formerly known as Terminix. It is an enhancement over a regular terminal and provides some important features. Features of Tilix Terminal Emulator: Enable users to split the terminal into d
3 min read
How to Install PSAD on Ubuntu Linux?
PSAD(Port Scan Attack Detection) is used to block post scanning on the server. psad tool keeps on monitoring firewall(iptables)logs to determine port scan or any other attack occurred. If some successful attack on the server happens psad also takes action to detect the threat. This is a collection of lightweight system daemons that run on a Linux s
3 min read
How to Download and Install Visual Studio Code on Ubuntu?
Visual Studio Code is a code editor that is basically used for web development or cloud platforms, but nowadays Visual Studio Code can do a lot. It is stated as the second most used code editor by developers in 2022 so if you are an aspiring IT student or a developer you should know how to use Visual Studio Code. Let's learn how to install Visual S
1 min read
How to Install Popcorn Time on Ubuntu, Mint, Kali Linux?
Popcorn Time is a BitTorrent client with multi-platform, free software that provides an integrated media player. A free alternative to subscription-based video streaming services, such as Netflix, is offered by the application. To stream video identified by several torrent websites, Popcorn Time uses sequential downloading and third-party trackers
3 min read
How to Install Yarn in MacOs/Ubuntu/Windows?
Prerequisite: Difference between npm and yarn Yarn in layman’s term is a package manager that can be used in your code or a project that is currently being built, what yarn does is it helps to share the code with fellow mates or within a community of developers, and they can even run the project that we are building on their end. But how actually i
3 min read
How to Install Ubuntu Budgie in Virtualbox?
Ubuntu Budgie is a community-developed distribution, integrating the Budgie Desktop Environment with Ubuntu at its core. Whether you use it on an old computer or a powerful workstation, Ubuntu Budgie is adaptable to any device, keeping them fast and usable. It combines the thoroughly-tested and stable Ubuntu core with a modern, lightweight, and tra
4 min read
How to install 7zip in ubuntu
7-Zip is a free and open-source file archiver, which compresses files and saves them in compressed containers known as "archives." Igor Pavlov designed created and released it in 1999. 7-Zip has its own archive format, 7z, but it can also read and write a variety of other formats. 7-zip is included in the p7zip package. There are two sorts of p7zip
2 min read
How to Install tix package in Ubuntu?
Tix is also known as Tk Interface Extension. It is a python module that provides an extra rich set of widgets to TkInter. Although the standard Tk library contains different types of useful widgets and Tix library adds on the missing important widgets to the standard Tk library. It adds 40+ widget classes to the Tkinter repertoire. Using these new
2 min read
How to Install "golang-gopkg-mgo.v2-dev" Package on Ubuntu?
mgo is a MongoDB driver for the Go language that implements a rich and well-tested selection of features under a very simple API following standard Go idioms. mgo ha0.s long gone unmaintained and does not support new features of new versions of MongoDB. Anyways, let's learn how to install it on Ubuntu. Installation of "golang-gopkg-mgo.v2-dev" Pack
1 min read
How to Install LosslessCut in Ubuntu
Ubuntu is one of the most popular Linux distributions because it is well known, secure, and gets frequent upgrades. Virtually every kind of app, including video editors, is accessible on Ubuntu, which has a variety of versions. So. LosslessCut is the greatest video editor for Ubuntu, so if you're looking for one, try it out. We have provided a very
2 min read
How to Install apt-listchanges package on Ubuntu?
Upon collecting the appropriate items from the Debian changelog and NEWS files, the utility apt-listchanges may compare a new version of a package with the one presently installed and display what has changed. It may be run on multiple.deb archives at once to get a list of all changes that would result from installing or updating a set of packages.
3 min read
How to Install php-xml in Ubuntu?
Extensible Markup Language (XML) is a markup language similar to HTML, but the difference between HTML and XML is HTML has predefined tags but in XML we can create our own tags. The format of XML is standardized, if we share or transmit the XML over other systems and platform the receiver still will be able to parse the data due to the standardized
2 min read
How To Install apt-offline package on Ubuntu?
Apt-offline adds offline package management features to Debian-based systems. It may be used to download packages and dependencies that will be installed later (or necessary to update) in a disconnected system. Packages can be downloaded from another connected PC. It may also get bug reports for the downloaded packages. Apt-offline is an Offline AP
3 min read
three90RightbarBannerImg