gdrive icon indicating copy to clipboard operation
gdrive copied to clipboard

Cross platform precompiled binaries available for download

Open growtopiajaw opened this issue 4 years ago • 8 comments

Hello everyone, as precompiled gdrive binaries in this repository is removed. I’ve made an initiative to fix the OAuth error and compile cross platform binaries for all possible architecture. Currently, I’ve not been able to compile for mips and mipsle and all other major architecture are successfully compiled.

Code is open sourced with the OAuth hotfix commit. Anyone is welcome to review the repository.

This is my release page with all of the compiled binaries gdrive

growtopiajaw avatar Dec 15 '20 20:12 growtopiajaw

Hi. Great news, thanks!

Do you think its possible to compile for ppc 32 and ppc64? I have an old NAS with this architecture.

Regards

elbekgt avatar Dec 18 '20 10:12 elbekgt

I'm not really sure if I can do that but I will try my best and report back if there is any news to be shared.

On Fri, Dec 18, 2020, 6:37 PM elbekgt [email protected] wrote:

Hi. Great news, thanks!

Do you think its possible to compile for ppc 32 and ppc64? I have an old NAS with this architecture.

Regards

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prasmussen/gdrive/issues/570#issuecomment-748013135, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDQTFUYOR4E3HRPM6YHKFLSVMWH7ANCNFSM4U45CIQA .

growtopiajaw avatar Dec 18 '20 10:12 growtopiajaw

Hi. Great news, thanks!

Do you think its possible to compile for ppc 32 and ppc64? I have an old NAS with this architecture.

Regards

I’m only able to compile for PowerPC 64-bit as golang currently doesn’t support compiling for any PowerPC 32-bit target. If you try, it will give you an error, “cmd/go: unsupported GOOS/GOARCH pair linux/ppc”

growtopiajaw avatar Dec 19 '20 00:12 growtopiajaw

gdrive-linux-amd64 works perfectly on the Centos7 HPC cluster at my university :) Thanks for the awesome work for the community! Cheers and happy new year.

To sum up for anyone who might be new to all this: 1.wget <link_of_correct_build> find it from https://github.com/GrowtopiaJaw/gdrive/releases in my case I get gdrive-linux-amd64 2. rename it to gdrive mv gdrive-linux-amd64 gdrive 3. run ./gdrive about 4. follow the link, sign into your google, and click 'continue anyway' at the security warning from Google 5. now you can run whatever you want with ./gdrive <commands>. Just use ./gdrive help or see the official docs for the full list

linminhtoo avatar Dec 29 '20 07:12 linminhtoo

gdrive-linux-amd64 works perfectly on the Centos7 HPC cluster at my university :) Thanks for the awesome work for the community! Cheers and happy new year.

To sum up for anyone who might be new to all this: 1.wget <link_of_correct_build> find it from https://github.com/GrowtopiaJaw/gdrive/releases in my case I get gdrive-linux-amd64 2. rename it to gdrive mv gdrive-linux-amd64 gdrive 3. run ./gdrive about 4. follow the link, sign into your google, and click 'continue anyway' at the security warning from Google 5. now you can run whatever you want with ./gdrive <commands>. Just use ./gdrive help or see the official docs for the full list

No problem. Cheers to you too and thanks for the wonderful guide!

growtopiajaw avatar Dec 29 '20 09:12 growtopiajaw

I'm unable to run gdrive on linux:

./gdrive 
bash: ./gdrive: No such file or directory

Do I need anything else installed?

clmbmb avatar Jun 09 '21 14:06 clmbmb

I'm unable to run gdrive on linux:

./gdrive 
bash: ./gdrive: No such file or directory

Do I need anything else installed?

Did you try what I commented? Are you sure .gdrive is in your present working directory?

linminhtoo avatar Jun 09 '21 14:06 linminhtoo

Sorry. I thought the shell was complaining about not finding the binary. You could add a more explicit message for this. Something along the lines of "Configuration directory not found".

Anyway, I made it work. Thanks!

clmbmb avatar Jun 09 '21 14:06 clmbmb