Installing adb for android communication

I am trying to install this adb and fastboot but lacking the command knowledge. Here are the instructions I found:

On Linux

  1. Download the Linux zip from Google.
  2. Extract it somewhere - for example, ~/adb-fastboot .
  3. Add the following to ~/.profile :
if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then
 export PATH="$HOME/adb-fastboot/platform-tools:$PATH"
fi
  1. Log out and back in.
  2. You may also need to set up udev rules: see this repository for more info.

Here is the website where these instructions came from:
https://wiki.lineageos.org/adb_fastboot_guide.html#on-linux

I need the line by line commands to copy and paste into the command editor. Sorry, I just don’t know any better.
Thanks again for all your help.

If you do not depended on the latest adb and fastboot by google you can do

sudo apt-get install adb
sudo apt-get install fastboot

to install it from the software store of PureOS.

1 Like

That was easy. Thanks.
I am trying to install lineageOS on a Galaxy S9.