Linux is great for phone work: no USB drivers to install.
1. Install: sudo apt install adb fastboot
2. Turn on USB debugging on the phone (see our USB debugging tip) and connect it.
3. Run: adb devices and accept the prompt on the phone.
4. Fastboot mode: fastboot devices
5. "No permissions" or device not listed: install the device rules with sudo apt install android-sdk-platform-tools-common, unplug and plug in the phone again. Running the command with sudo also works as a quick test.
All the commands from our ADB basics tip work the same on Linux.