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
sudo unzip -d /usr/local/sbin platform-tools-latest-linux.zip
sudo wget -O /usr/local/sbin/adb https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/android/adb
sudo wget -O /usr/local/sbin/fastboot https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/android/fastboot
sudo chmod +x /usr/local/sbin/platform-tools/adb /usr/local/sbin/adb
sudo chmod +x /usr/local/sbin/platform-tools/fastboot /usr/local/sbin/fastboot
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