How to install ADB & Fastboot on Xubuntu 18.04

How to install ADB & Fastboot on Xubuntu 18.04

ADB stand for android debug bridge, adb is a tool for communicating with android devices using your computer, in this tutorial i will show you how to install the latest ADB and fastboot tool on xubuntu 18.04 bionic.

How to install ADB & Fastboot on Xubuntu 18.04
  • open command line/terminal on xubuntu (press CTRL + ALT + T)
  • download platform tools linux zip package
  • wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
  • extract/unzip platform tools linux
  • sudo unzip -d /usr/local/sbin platform-tools-latest-linux.zip
  • download adb from github
  • sudo wget -O /usr/local/sbin/adb https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/android/adb
    
  • download fastboot from github
  • sudo wget -O /usr/local/sbin/fastboot https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/android/fastboot
  • give execute permission for adb
  • sudo chmod +x /usr/local/sbin/platform-tools/adb /usr/local/sbin/adb
  • give execute permission for fastboot
  • sudo chmod +x /usr/local/sbin/platform-tools/fastboot /usr/local/sbin/fastboot
  • done!
The method above will install the latest version of adb and fastboot, you can also install adb from xubuntu/ubuntu repository, but you won't be getting the latest version. You can check adb version by running:
adb version


Share this

Previous
Next Post »