I need to download some large files from Google Drive on my server (“server” means no GUI). After a quick search, I got a solution: https://stackoverflow.com/a/50670037/5048046

We can just install it by using pip:

python3 -m pip install gdown

Then just give the URL of the Google Drive file to it:

# https://drive.google.com/uc?id=<file_id>
gdown <file_id>