Install adb on your Computer
Table of contents
- What is adb?
- Install on a Windows or a Mac
- Install on a Linux OS
- Using the adb
adb is a short for Android Debug Bridge. It serves a purpose, like its name, for debugging purposes. ADB is very useful for power users as you can control every aspect of your Android, similar to how you control a Linux OS on a computer. To use adb, it will require a terminal window.
To avoid rewriting the same book, you will need to follow external links.
If you are using a Linux operating system, the installation process is very easy for a distro that is Ubuntu-based.
Simply run your software manager and search for "android-adb-tools". Install that package. To test, open up a terminal window and execute
adb version. This will yield the current installed version of the adb.
sudo apt-get install android-adb-tools from the terminal window will do the same thing as well.
If you are running Ubuntu but doesn't want to follow the above method, or you are using another Linux distro, you can still install the adb but from the official website.
To avoid rewriting the same book, here's a link (external link) for you to follow. Have fun!
If you follow the guides in the links properly, you will have your adb executable PATH environment set. With this advantage, you can call the adb function in a terminal window without having to cd into a directory that contains the adb executable. Yes, this sounds techy, it is okay if you do not understand.
Since you have PATH environment set, all you need to is open a terminal / cmd window, and then type in adb devices to see if your device is detected.
You can then proceed to explore the adb functions by typing in adb help. One most used feature is the adb shell command. This command allows you to open a terminal shell mode for your Android device itself!