Install GAM

413 views
Skip to first unread message

Gokul Nagasubramanian

unread,
Apr 2, 2019, 5:40:09 AM4/2/19
to GAM for G Suite
When I type 

bash <(curl -s -S -L https://git.io/install-gam)
I see the below error message 
"Good, you're running MacOS 10.14...


Checking GitHub URL https://api.github.com/repos/jay0lee/GAM/releases for latest GAM release...


Getting file and download URL...




Downloading file gam-4.65-macos.tar.xz from https://github.com/jay0lee/GAM/releases/download/v4.65/gam-4.65-macos.tar.xz to /var/folders/lb/jw3g95x502ncdvz73cwtzrlc0000gn/T/tmp.YWOHlxiR.


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   611    0   611    0     0    396      0 --:--:--  0:00:01 --:--:--   396

 57 6710k   57 3841k    0     0   5520      0  0:20:44  0:11:52  0:08:52     0

curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

Extracting archive to /Users/gokul/bin


gam/gam: Lzma library error:  No progress is possible

tar: Error exit delayed from previous errors.

ERROR: extracting the GAM archive with tar failed with error 1. Exiting."


Tried quite a few times but with same error message and when I did some read, it looks like the archive is corrupted? Can you help? 

Joetje F

unread,
Apr 2, 2019, 6:10:51 AM4/2/19
to GAM for G Suite
The key error is actually the LibreSSL error:

curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54


That causes the archive to be downloaded incomplete and thus corrupted. There are quite a few search references to this particular error for Mac users but I'm unfortunately no Mac users. hopefully searching for above error or a Mac expert can help you out.


Eric Dannewitz

unread,
Apr 2, 2019, 9:12:20 AM4/2/19
to google-ap...@googlegroups.com
Libressl needs to be uninstalled or updated.

Why not just use OpenSSL?

Eric Dannewitz 
Technology Assistant
Acalanes Union High School District
District Office Technology Department


--
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/9032e4dc-8585-479d-a026-743b7a3b6c62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ross Scroggs

unread,
Apr 2, 2019, 9:21:09 AM4/2/19
to google-ap...@googlegroups.com
Gokul,

You can download the compressed tar file manually.
Click: gam-4.65-macos.tar.xz
Save in your Downloads folder
The following commands will place Gam in the same folder as the automated method
cd ~
mkdir bin
cd bin
mv ~/Downloads/gam-4.65-macos.tar.xz .
tar -xvf gam-4.65-macos.tar.xz
rm gam-4.65-macos.tar.xz
echo "alias gam=\"$HOME/bin/gam/gam\"" > ~/.bash_profile
source ~/.bash_profile
cd gam
gam version

Do these commands and follow any directions given; use a super admin email address when prompted.
gam create project

gam oauth create

gam user admin@domain.com check serviceaccount



"Minimising Disruption to our Business" - Sainsbury's D&T Supplier awards 2018
"Trusted Technology Leaders" - Sainsbury's Best IT Supplier Awards - 2017
"Hackathon Winners" - Retail Week Tech Sprint - 2017


Registered Address: Daemon Solutions Ltd, Studio 106, Record Hall 16 - 16A Baldwins Gardens, London, EC1N 7RJ, United Kingdom

Company No: 03442937

-- 
You received this message because you are subscribed to the Google Groups "GAM for G Suite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

Ross Scroggs

unread,
Apr 2, 2019, 9:23:58 AM4/2/19
to google-ap...@googlegroups.com
Gokul,

One correction, the following line shoud have >>, not >
echo "alias gam=\"$HOME/bin/gam/gam\"" >> ~/.bash_profile

On Apr 2, 2019, at 2:40 AM, Gokul Nagasubramanian <gokul.naga...@daemonsolutions.com> wrote:

Reply all
Reply to author
Forward
0 new messages