Updating Moto G 'Osprey' to Q prior to /e/ installation

I’m wondering if anyone has links explaining how to install android Q onto the Moto G ‘Osprey’ via Linux Mint or Ubuntu. I have so far only found guides explaining how to do so via a PC or Mac…

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

update the system :

$ sudo apt update
$ sudo apt upgrade

install the flashing-tools :

$ sudo apt install android-tools-adb
$ sudo apt install android-tools-fastboot


$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install android-tools-adb
$ sudo apt-get install android-tools-fastboot

Hey, thanks again Piero! Really helping a noob out lol

OK so Im still a bit confused. Can I just flash the latest /e/ ROM onto the Moto G Ospreys 6.0 OS? Will the /e/ image offered in the ‘Upgrade’ section here work?: https://doc.e.foundation/devices/osprey/

If this is still unclear, Im trying to ask if I need to update the Moto G Osprey OS to ‘Q’ using firmware not provided on the /e/ build page before flashing the /e/ 0.16 image found in the above link to the phone. The phone in question is currently running a 6.0 Marshmellow OS.

Here are the phones specs:

Model: Moto G (3rd Gen)
Android: 6.0
Android security patch level: April 1, 2017
Baseband Version: M8916_2020629.
Kernel Version: 3.10.49-gffb6339 hudsoncm@ilclbld85 #1 Thu Arp 6 12:53:43
CDT 20217
System Version: 24.22.11.osprey_retca.en.CA tkpca