There's a bit more involved than just downloading the driver though.
This command is used to install the git, build environment and dkms (Dynamic Kernel Module Support) packages....
Code:
sudo apt install git build-essential dkms
They might require other dependencies that will get pulled in at the same time. In other words, best done on the target machine itself.