How to install Android Debug Brigde on Linux
- Download the ADB ZIP file for Linux
- Extract the ZIP to a location that is easily accessible (such as a desktop).
- Open a Terminal window.
- Enter the command: cd /path/to/extracted/folder/
- This changes the directory to which ADB files have been extracted.
- For instance: cd /Users/Doug/Desktop/platform-tools/
- Connect the device with your USB cable to your Linux machine. Modify the "MTP" mode of the connection. This is not always needed for every device, but it is recommended to avoid problems.
- Once the terminal is located in the same folder as your ADB tools, you can start the ADB daemon with the following command:
- You see the prompt that requires you to allow USB debugging back on your smartphone or tablet device. Go on and give it.
- Finally, re-enter the step # 8 command. If everything succeeds, you should now see the serial number for your device in the output of the terminal window. Congratulations to the Commission! You can now execute any ADB on your device! Start now by modifying your phone with our extensive list of tutorials!
Some Linux users should know that ADB installation on your computer can be easier. The guide above certainly will work for you, but you can skip steps 1 and 2 of the above guide with one of the following commands from Debian or Fedora / SUSE distro.
- The following command can be type in for Debian-based Linux users to install ADB: sudo apt-get install adb
- The following command can be used to set up Fedora / SUSE-based Linux users: sudo yum install android-tools