ADB and Fastboot still work on Linux, e.g.: https://itsfoss.com/install-adb-fastboot-linux/
Linux Mint
Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.
Want to see the latest news from the blog? Set the Firefox homepage to:
where is a current or past release. Here's an example using release 21.1 'Vera':
https://linuxmint.com/start/vera/
Should I install adb and Fastboot using apt or get sdk platform tools directly from google and extract that somewhere and run terminal from there
Generally, when you use apt
you're installing from your distro maintainer's software repository (aka Linux Mint), who will have personally vetted and compiled the software available. This is usually the best and most seamless option as it will continually update itself along with the rest of your system, but the software version from the repo may lag behind compared to the latest releases directly from Google. If you grab it manually from Google, it will be the latest version available, but it will be your responsibility to keep it updated.
Just a nitpick: the version will let behind in all Debian-based distros, there's no "may" about it. Any software that is still receiving regular updates will have a much older version in the distros' apt repositories, often even several years old. It might still be fine - apt is a good example, the old version can almost definitely do everything you need - but it's important to be aware of this.
Thank you. I got it
LineageOS has a detailed wiki on this: https://wiki.lineageos.org/adb_fastboot_guide#installing-adb-and-fastboot (scroll down to "On Linux")
It worked well for me without messing with the udev rules.
Thanks So it's Downloading Android sdk platform tools from google extracting it somewhere and adding the path to it to system. I remember I did something similar on windows too. from what others said it seems to be either this or installing them with apt.
@aprehendedmerlin
How to install ADB and Fastboot on Linux
You get adb and fastboot available in the default repository of almost every modern Linux distribution and it does not require any third-party repository.
So let's take a look at how those two packages can be installed on various Linux distributions.
For Ubuntu/Debian:
sudo apt install adb fastboot
Yeah I installed both FastBoot and ADB with apt thank you
I use ADB and fastboot as my replacement for ADB and fastboot in Windows.