
Debian/Ubuntu-based Linux users can type the following command to install ADB: sudo apt- get install android-sdk-platform-tools.The guide above will certainly work for you, but those who own a mainstream Debian/Ubuntu or Fedora/SUSE-based distro of Linux can skip steps 1 and 2 of the guide above and use one of the following commands: Linux users should know that there is an easier way to install ADB on their computers. Go ahead and grant it.Ĭongrats! You can now run any ADB command on your device! Back on your smartphone or tablet device, you'll see a prompt asking you to allow USB debugging.This is not always necessary for every device, but it's recommended so you don't run into any issues. Change the connection mode to “file transfer (MTP)” mode. Connect your device to your Linux machine with your USB cable.Example: cd /home/XDA/Desktop/platform-tools/.This will change the directory to where you extracted the ADB files.


Extract the ZIP to an easily-accessible location (like the Desktop for example).Download the Android SDK Platform Tools ZIP file for macOS.You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials! How to set up ADB on macOS
